#include "htofinocal.h"

// Created 18.06.00 by M.Golubeva
//

ClassImp(HTofinoCal)

    HTofinoCal::HTofinoCal(void) { clear(); }

    void HTofinoCal::setAddress(const Int_t s, const Int_t m, const Int_t c) {
       sector=s;
       module=m;
       cell=c;
    }

    void HTofinoCal::fill(const Float_t t, const Float_t a,
                 const Int_t s, const Int_t m, const Int_t c) {
       timeCal=t;
       chargeCal=a;
       sector=s;
       module=m;
       cell=c;
    }

    void HTofinoCal::getAddress(Int_t& s, Int_t& m, Int_t& c) {
       s=sector;
       m=module;
       c=cell;
    }

    void HTofinoCal::clear(void) {
       timeCal=-200.;
       chargeCal=-200.;
       sector=-1;
       module=-1;
       cell=-1;
    }

 

Last change: Sat May 22 13:16:33 2010
Last generated: 2010-05-22 13:16

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.