#include <RecBTofCalHit.h>
Inheritance diagram for RecBTofCalHit:
Public Member Functions | |
RecBTofCalHit () | |
virtual | ~RecBTofCalHit () |
virtual const CLID & | clID () const |
int | run () const |
int | event () const |
int | mod () const |
int | qual () const |
double | tpred () const |
double | tdc1 () const |
double | tdc2 () const |
double | adc1 () const |
double | adc2 () const |
double | zHit () const |
double | dzHit () const |
double | deltaPhi () const |
double | sinTheta () const |
double | p () const |
double | Q () const |
double | path () const |
double | tpred (int index) const |
void | setTpred (int idx, double t) |
void | setRun (int run) |
void | setEvent (int event) |
void | setMod (int imod) |
void | setQual (int qual) |
void | setTpred (double tpred) |
void | setTdc1 (double tdc1) |
void | setTdc2 (double tdc2) |
void | setAdc1 (double adc1) |
void | setAdc2 (double adc2) |
void | setZHit (double zHit) |
void | setdZHit (double dzHit) |
void | setDeltaPhi (double deltaPhi) |
void | setsinTheta (double sint) |
void | setP (double p) |
void | setQ (double q) |
void | setPath (double l) |
RecBTofCalHit * | next () const |
void | setnext (RecBTofCalHit *n) |
Static Public Member Functions | |
static const CLID & | classID () |
Private Attributes | |
double | m_texp [5] |
int | m_run |
int | m_event |
int | m_imod |
int | m_qual |
double | m_tpred |
double | m_tdc1 |
double | m_tdc2 |
double | m_adc1 |
double | m_adc2 |
double | m_zHit |
double | m_dzHit |
double | m_deltaPhi |
double | m_sintheta |
double | m_p |
double | m_Q |
double | m_path |
RecBTofCalHit * | m_bch |
Definition at line 20 of file RecBTofCalHit.h.
RecBTofCalHit::RecBTofCalHit | ( | ) |
Definition at line 10 of file RecBTofCalHit.cxx.
References genRecEmupikp::i, m_adc1, m_adc2, m_bch, m_dzHit, m_imod, m_p, m_path, m_Q, m_qual, m_sintheta, m_tdc1, m_tdc2, m_texp, m_tpred, and m_zHit.
00010 { 00011 m_imod=-1; 00012 m_qual=-1; 00013 m_tpred=-1.; 00014 m_tdc1=-1.; 00015 m_tdc2=-1.; 00016 m_adc1=-1.; 00017 m_adc2=-1.; 00018 m_zHit=-1.; 00019 m_dzHit=-1.; 00020 m_sintheta=-1.; 00021 m_bch=NULL; 00022 for(int i=0;i<5;i++) 00023 m_texp[i]=0.; 00024 m_p=-1.; 00025 m_Q=-1.; 00026 m_path=-1.; 00027 }
virtual RecBTofCalHit::~RecBTofCalHit | ( | ) | [inline, virtual] |
double RecBTofCalHit::adc1 | ( | ) | const [inline] |
Definition at line 37 of file RecBTofCalHit.h.
References m_adc1.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00037 { return m_adc1; }
double RecBTofCalHit::adc2 | ( | ) | const [inline] |
Definition at line 38 of file RecBTofCalHit.h.
References m_adc2.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00038 { return m_adc2; }
static const CLID& RecBTofCalHit::classID | ( | ) | [inline, static] |
Definition at line 27 of file RecBTofCalHit.h.
References CLID_RecBTofCalHit.
Referenced by clID().
00027 { return CLID_RecBTofCalHit; }
virtual const CLID& RecBTofCalHit::clID | ( | ) | const [inline, virtual] |
Definition at line 26 of file RecBTofCalHit.h.
References classID().
00026 { return RecBTofCalHit::classID();}
double RecBTofCalHit::deltaPhi | ( | ) | const [inline] |
Definition at line 41 of file RecBTofCalHit.h.
References m_deltaPhi.
Referenced by Record::Record().
00041 { return m_deltaPhi; }
double RecBTofCalHit::dzHit | ( | ) | const [inline] |
Definition at line 40 of file RecBTofCalHit.h.
References m_dzHit.
Referenced by TofCheckData::FillBarrel(), and TofCheckData::FillETF().
00040 { return m_dzHit; }
int RecBTofCalHit::event | ( | ) | const [inline] |
Definition at line 31 of file RecBTofCalHit.h.
References m_event.
Referenced by Record::Record().
00031 { return m_event; }
int RecBTofCalHit::mod | ( | ) | const [inline] |
Definition at line 32 of file RecBTofCalHit.h.
References m_imod.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00032 { return m_imod; }
RecBTofCalHit* RecBTofCalHit::next | ( | void | ) | const [inline] |
double RecBTofCalHit::p | ( | void | ) | const [inline] |
Definition at line 43 of file RecBTofCalHit.h.
References m_p.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00043 { return m_p; }
double RecBTofCalHit::path | ( | ) | const [inline] |
Definition at line 45 of file RecBTofCalHit.h.
References m_path.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00045 { return m_path; }
double RecBTofCalHit::Q | ( | ) | const [inline] |
Definition at line 44 of file RecBTofCalHit.h.
References m_Q.
Referenced by TofCheckData::FillBarrel(), and TofCheckData::FillETF().
00044 { return m_Q; }
int RecBTofCalHit::qual | ( | ) | const [inline] |
Definition at line 33 of file RecBTofCalHit.h.
References m_qual.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00033 { return m_qual; }
int RecBTofCalHit::run | ( | ) | const [inline] |
Definition at line 30 of file RecBTofCalHit.h.
References m_run.
Referenced by Record::Record().
00030 { return m_run; }
void RecBTofCalHit::setAdc1 | ( | double | adc1 | ) | [inline] |
Definition at line 61 of file RecBTofCalHit.h.
References m_adc1.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setAdc2 | ( | double | adc2 | ) | [inline] |
Definition at line 62 of file RecBTofCalHit.h.
References m_adc2.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setDeltaPhi | ( | double | deltaPhi | ) | [inline] |
Definition at line 65 of file RecBTofCalHit.h.
References m_deltaPhi.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
00065 { m_deltaPhi = deltaPhi; }
void RecBTofCalHit::setdZHit | ( | double | dzHit | ) | [inline] |
Definition at line 64 of file RecBTofCalHit.h.
References m_dzHit.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setEvent | ( | int | event | ) | [inline] |
Definition at line 55 of file RecBTofCalHit.h.
References m_event.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setMod | ( | int | imod | ) | [inline] |
Definition at line 56 of file RecBTofCalHit.h.
References m_imod.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
00056 { m_imod = imod; }
void RecBTofCalHit::setnext | ( | RecBTofCalHit * | n | ) | [inline] |
Definition at line 89 of file RecBTofCalHit.h.
References m_bch.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel().
00089 { m_bch=n;}
void RecBTofCalHit::setP | ( | double | p | ) | [inline] |
Definition at line 67 of file RecBTofCalHit.h.
References m_p.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setPath | ( | double | l | ) | [inline] |
Definition at line 69 of file RecBTofCalHit.h.
References m_path.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
00069 { m_path = l; }
void RecBTofCalHit::setQ | ( | double | q | ) | [inline] |
Definition at line 68 of file RecBTofCalHit.h.
References m_Q.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setQual | ( | int | qual | ) | [inline] |
Definition at line 57 of file RecBTofCalHit.h.
References m_qual.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setRun | ( | int | run | ) | [inline] |
Definition at line 54 of file RecBTofCalHit.h.
References m_run.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setsinTheta | ( | double | sint | ) | [inline] |
Definition at line 66 of file RecBTofCalHit.h.
References m_sintheta.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
00066 { m_sintheta = sint; }
void RecBTofCalHit::setTdc1 | ( | double | tdc1 | ) | [inline] |
Definition at line 59 of file RecBTofCalHit.h.
References m_tdc1.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setTdc2 | ( | double | tdc2 | ) | [inline] |
Definition at line 60 of file RecBTofCalHit.h.
References m_tdc2.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setTpred | ( | double | tpred | ) | [inline] |
void RecBTofCalHit::setTpred | ( | int | idx, | |
double | t | |||
) | [inline] |
Definition at line 49 of file RecBTofCalHit.h.
References m_texp.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
void RecBTofCalHit::setZHit | ( | double | zHit | ) | [inline] |
Definition at line 63 of file RecBTofCalHit.h.
References m_zHit.
Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().
double RecBTofCalHit::sinTheta | ( | ) | const [inline] |
Definition at line 42 of file RecBTofCalHit.h.
References m_sintheta.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00042 { return m_sintheta; }
double RecBTofCalHit::tdc1 | ( | ) | const [inline] |
Definition at line 35 of file RecBTofCalHit.h.
References m_tdc1.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00035 { return m_tdc1; }
double RecBTofCalHit::tdc2 | ( | ) | const [inline] |
Definition at line 36 of file RecBTofCalHit.h.
References m_tdc2.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00036 { return m_tdc2; }
double RecBTofCalHit::tpred | ( | int | index | ) | const [inline] |
Definition at line 48 of file RecBTofCalHit.h.
References m_texp.
00048 { if(index<0||index>=5) index=0;return m_texp[index];}
double RecBTofCalHit::tpred | ( | ) | const [inline] |
Definition at line 34 of file RecBTofCalHit.h.
References m_tpred.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00034 { return m_tpred; }
double RecBTofCalHit::zHit | ( | ) | const [inline] |
Definition at line 39 of file RecBTofCalHit.h.
References m_zHit.
Referenced by TofCheckData::FillBarrel(), TofCheckData::FillETF(), and Record::Record().
00039 { return m_zHit; }
double RecBTofCalHit::m_adc1 [private] |
Definition at line 78 of file RecBTofCalHit.h.
Referenced by adc1(), RecBTofCalHit(), and setAdc1().
double RecBTofCalHit::m_adc2 [private] |
Definition at line 79 of file RecBTofCalHit.h.
Referenced by adc2(), RecBTofCalHit(), and setAdc2().
RecBTofCalHit* RecBTofCalHit::m_bch [private] |
Definition at line 91 of file RecBTofCalHit.h.
Referenced by next(), RecBTofCalHit(), and setnext().
double RecBTofCalHit::m_deltaPhi [private] |
double RecBTofCalHit::m_dzHit [private] |
Definition at line 81 of file RecBTofCalHit.h.
Referenced by dzHit(), RecBTofCalHit(), and setdZHit().
int RecBTofCalHit::m_event [private] |
int RecBTofCalHit::m_imod [private] |
double RecBTofCalHit::m_p [private] |
double RecBTofCalHit::m_path [private] |
Definition at line 86 of file RecBTofCalHit.h.
Referenced by path(), RecBTofCalHit(), and setPath().
double RecBTofCalHit::m_Q [private] |
int RecBTofCalHit::m_qual [private] |
Definition at line 74 of file RecBTofCalHit.h.
Referenced by qual(), RecBTofCalHit(), and setQual().
int RecBTofCalHit::m_run [private] |
double RecBTofCalHit::m_sintheta [private] |
Definition at line 83 of file RecBTofCalHit.h.
Referenced by RecBTofCalHit(), setsinTheta(), and sinTheta().
double RecBTofCalHit::m_tdc1 [private] |
Definition at line 76 of file RecBTofCalHit.h.
Referenced by RecBTofCalHit(), setTdc1(), and tdc1().
double RecBTofCalHit::m_tdc2 [private] |
Definition at line 77 of file RecBTofCalHit.h.
Referenced by RecBTofCalHit(), setTdc2(), and tdc2().
double RecBTofCalHit::m_texp[5] [private] |
Definition at line 51 of file RecBTofCalHit.h.
Referenced by RecBTofCalHit(), setTpred(), and tpred().
double RecBTofCalHit::m_tpred [private] |
Definition at line 75 of file RecBTofCalHit.h.
Referenced by RecBTofCalHit(), setTpred(), and tpred().
double RecBTofCalHit::m_zHit [private] |
Definition at line 80 of file RecBTofCalHit.h.
Referenced by RecBTofCalHit(), setZHit(), and zHit().