RecBTofCalHit Class Reference

#include <RecBTofCalHit.h>

Inheritance diagram for RecBTofCalHit:

ContainedObject List of all members.

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)
RecBTofCalHitnext () 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
RecBTofCalHitm_bch

Detailed Description

Definition at line 20 of file RecBTofCalHit.h.


Constructor & Destructor Documentation

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]

Definition at line 24 of file RecBTofCalHit.h.

00024 {} 


Member Function Documentation

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]

Definition at line 88 of file RecBTofCalHit.h.

References m_bch.

00088 { return m_bch;}

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().

00061 { m_adc1     = adc1;     }

void RecBTofCalHit::setAdc2 ( double  adc2  )  [inline]

Definition at line 62 of file RecBTofCalHit.h.

References m_adc2.

Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().

00062 { m_adc2     = adc2;     } 

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().

00064 { m_dzHit    = dzHit;    }

void RecBTofCalHit::setEvent ( int  event  )  [inline]

Definition at line 55 of file RecBTofCalHit.h.

References m_event.

Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().

00055 { m_event    = event;    }

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().

00067 { m_p        = p;        }

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().

00068 { m_Q        = q;        }

void RecBTofCalHit::setQual ( int  qual  )  [inline]

Definition at line 57 of file RecBTofCalHit.h.

References m_qual.

Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().

00057 { m_qual     = qual;     }

void RecBTofCalHit::setRun ( int  run  )  [inline]

Definition at line 54 of file RecBTofCalHit.h.

References m_run.

Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().

00054 { m_run      = run;      }

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().

00059 { m_tdc1     = tdc1;     }

void RecBTofCalHit::setTdc2 ( double  tdc2  )  [inline]

Definition at line 60 of file RecBTofCalHit.h.

References m_tdc2.

Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().

00060 { m_tdc2     = tdc2;     }

void RecBTofCalHit::setTpred ( double  tpred  )  [inline]

Definition at line 58 of file RecBTofCalHit.h.

References m_tpred.

00058 { m_tpred    = tpred;    }

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().

00049 {if(idx<0||idx>=5) idx=0; m_texp[idx]=t; }

void RecBTofCalHit::setZHit ( double  zHit  )  [inline]

Definition at line 63 of file RecBTofCalHit.h.

References m_zHit.

Referenced by TofTrack::convert2RecBTofCalHitColBarrel(), and TofTrack::convert2RecBTofCalHitColETF().

00063 { m_zHit     = zHit;     }

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;     }


Member Data Documentation

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]

Definition at line 82 of file RecBTofCalHit.h.

Referenced by deltaPhi(), and setDeltaPhi().

double RecBTofCalHit::m_dzHit [private]

Definition at line 81 of file RecBTofCalHit.h.

Referenced by dzHit(), RecBTofCalHit(), and setdZHit().

int RecBTofCalHit::m_event [private]

Definition at line 72 of file RecBTofCalHit.h.

Referenced by event(), and setEvent().

int RecBTofCalHit::m_imod [private]

Definition at line 73 of file RecBTofCalHit.h.

Referenced by mod(), RecBTofCalHit(), and setMod().

double RecBTofCalHit::m_p [private]

Definition at line 84 of file RecBTofCalHit.h.

Referenced by p(), RecBTofCalHit(), and setP().

double RecBTofCalHit::m_path [private]

Definition at line 86 of file RecBTofCalHit.h.

Referenced by path(), RecBTofCalHit(), and setPath().

double RecBTofCalHit::m_Q [private]

Definition at line 85 of file RecBTofCalHit.h.

Referenced by Q(), RecBTofCalHit(), and setQ().

int RecBTofCalHit::m_qual [private]

Definition at line 74 of file RecBTofCalHit.h.

Referenced by qual(), RecBTofCalHit(), and setQual().

int RecBTofCalHit::m_run [private]

Definition at line 71 of file RecBTofCalHit.h.

Referenced by run(), and setRun().

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().


Generated on Tue Nov 29 23:20:47 2016 for BOSS_7.0.2 by  doxygen 1.4.7