RecMdcHit Class Reference

#include <RecMdcHit.h>

Inheritance diagram for RecMdcHit:

ContainedObject List of all members.

Public Member Functions

virtual const CLID & clID () const
 RecMdcHit ()
 RecMdcHit (const RecMdcHit &rechit)
 ~RecMdcHit ()
bool isGrouped (void)
const int getId (void) const
const int getTrkId (void) const
const double getDriftDistLeft (void) const
const double getDriftDistRight (void) const
const double getErrDriftDistLeft (void) const
const double getErrDriftDistRight (void) const
const double getChisqAdd (void) const
const int getFlagLR (void) const
const int getStat (void) const
const Identifier getMdcId (void) const
const double getTdc (void) const
const double getAdc (void) const
const double getDriftT (void) const
const double getDoca (void) const
const double getEntra (void) const
const double getZhit (void) const
const double getFltLen (void) const
void setId (int id)
void setTrkId (int trkid)
void setDriftDistLeft (double ddl)
void setDriftDistRight (double ddr)
void setErrDriftDistLeft (double erddl)
void setErrDriftDistRight (double erddr)
void setChisqAdd (double pChisq)
void setFlagLR (int lr)
void setStat (int stat)
void setMdcId (Identifier mdcid)
void setTdc (double tdc)
void setAdc (double adc)
void setDriftT (double driftT)
void setDoca (double doca)
void setEntra (double entra)
void setZhit (double zhit)
void setFltLen (double fltLen)

Static Public Member Functions

static const CLID & classID ()

Private Attributes

int m_id
int m_trkid
double m_ddl
double m_ddr
double m_erddl
double m_erddr
double m_pChisq
int m_lr
int m_stat
Identifier m_mdcid
double m_tdc
double m_adc
double m_driftT
double m_doca
double m_entra
double m_zhit
double m_fltLen

Detailed Description

Definition at line 22 of file RecMdcHit.h.


Constructor & Destructor Documentation

RecMdcHit::RecMdcHit (  ) 

Definition at line 10 of file RecMdcHit.cxx.

00010                     :
00011     m_id(-1),
00012     m_trkid(-1),   
00013     m_ddl(0.0),
00014     m_ddr(0.0),
00015     m_erddl(0.0),
00016     m_erddr(0.0),
00017     m_pChisq(999.0),
00018     m_lr(0),
00019     m_stat(0),
00020     m_mdcid(0),
00021     m_tdc(0.0),
00022     m_adc(0.0),
00023     m_driftT(0.0),
00024     m_doca(999.0),
00025     m_entra(0.0),
00026     m_zhit(999.0),
00027     m_fltLen(0.0)
00028  {
00029  
00030  }                                     

RecMdcHit::RecMdcHit ( const RecMdcHit rechit  ) 

Definition at line 32 of file RecMdcHit.cxx.

00033   : m_id( rechit.m_id),
00034     m_trkid(rechit.m_trkid),
00035     m_ddl( rechit.m_ddl),
00036     m_ddr( rechit.m_ddr),
00037     m_erddl( rechit.m_erddl),
00038     m_erddr( rechit.m_erddr),
00039     m_pChisq( rechit.m_pChisq),
00040     m_lr( rechit.m_lr),
00041     m_stat( rechit.m_stat),
00042     m_mdcid( rechit.m_mdcid),
00043     m_tdc( rechit.m_tdc),
00044     m_adc( rechit.m_adc),
00045     m_driftT( rechit.m_driftT),
00046     m_doca( rechit.m_doca),
00047     m_entra( rechit.m_entra),
00048     m_zhit( rechit.m_zhit), 
00049     m_fltLen( rechit.m_fltLen) {
00050 } 

RecMdcHit::~RecMdcHit (  ) 

Definition at line 58 of file RecMdcHit.cxx.

00058                       {
00059 }                


Member Function Documentation

static const CLID& RecMdcHit::classID (  )  [inline, static]

Definition at line 29 of file RecMdcHit.h.

References CLID_RecMdcHit.

Referenced by clID().

00029                                       {
00030       return CLID_RecMdcHit;
00031    }

virtual const CLID& RecMdcHit::clID (  )  const [inline, virtual]

Definition at line 25 of file RecMdcHit.h.

References classID().

00025                                       {
00026       return RecMdcHit::classID();     
00027    }                                   

const double RecMdcHit::getAdc ( void   )  const [inline]

Definition at line 51 of file RecMdcHit.h.

References m_adc.

Referenced by KalFitTrack::getSigma().

00051 { return m_adc;   }

const double RecMdcHit::getChisqAdd ( void   )  const [inline]

Definition at line 46 of file RecMdcHit.h.

References m_pChisq.

00046 { return m_pChisq;}

const double RecMdcHit::getDoca ( void   )  const [inline]

Definition at line 53 of file RecMdcHit.h.

References m_doca.

00053 { return m_doca;  }      

const double RecMdcHit::getDriftDistLeft ( void   )  const [inline]

Definition at line 42 of file RecMdcHit.h.

References m_ddl.

00042 { return m_ddl;   }

const double RecMdcHit::getDriftDistRight ( void   )  const [inline]

Definition at line 43 of file RecMdcHit.h.

References m_ddr.

00043 { return m_ddr ;  }

const double RecMdcHit::getDriftT ( void   )  const [inline]

Definition at line 52 of file RecMdcHit.h.

References m_driftT.

Referenced by KalFitTrack::getDriftTime().

00052 { return m_driftT;}      

const double RecMdcHit::getEntra ( void   )  const [inline]

Definition at line 54 of file RecMdcHit.h.

References m_entra.

Referenced by KalFitTrack::chi2_next(), KalFitTrack::getDriftDist(), and KalFitTrack::getSigma().

00054 { return m_entra; }     

const double RecMdcHit::getErrDriftDistLeft ( void   )  const [inline]

Definition at line 44 of file RecMdcHit.h.

References m_erddl.

00044 { return m_erddl; }

const double RecMdcHit::getErrDriftDistRight ( void   )  const [inline]

Definition at line 45 of file RecMdcHit.h.

References m_erddr.

00045 { return m_erddr; }

const int RecMdcHit::getFlagLR ( void   )  const [inline]

Definition at line 47 of file RecMdcHit.h.

References m_lr.

00047 { return m_lr;    }

const double RecMdcHit::getFltLen ( void   )  const [inline]

Definition at line 56 of file RecMdcHit.h.

References m_fltLen.

00056 { return m_fltLen;}

const int RecMdcHit::getId ( void   )  const [inline]

Definition at line 40 of file RecMdcHit.h.

References m_id.

00040 { return m_id;    }

const Identifier RecMdcHit::getMdcId ( void   )  const [inline]

Definition at line 49 of file RecMdcHit.h.

References m_mdcid.

Referenced by KalFitTrack::getDriftDist().

00049 { return m_mdcid; }

const int RecMdcHit::getStat ( void   )  const [inline]

Definition at line 48 of file RecMdcHit.h.

References m_stat.

00048 { return m_stat;  }

const double RecMdcHit::getTdc ( void   )  const [inline]

Definition at line 50 of file RecMdcHit.h.

References m_tdc.

Referenced by KalFitTrack::getDriftTime().

00050 { return m_tdc;   }

const int RecMdcHit::getTrkId ( void   )  const [inline]

Definition at line 41 of file RecMdcHit.h.

References m_trkid.

00041 { return m_trkid; }   

const double RecMdcHit::getZhit ( void   )  const [inline]

Definition at line 55 of file RecMdcHit.h.

References m_zhit.

Referenced by KalFitTrack::getSigma().

00055 { return m_zhit;  }      

bool RecMdcHit::isGrouped ( void   ) 

Definition at line 53 of file RecMdcHit.cxx.

References m_trkid.

00053                      {
00054    if(m_trkid == -1 ) return false;
00055    return true;
00056 }                

void RecMdcHit::setAdc ( double  adc  )  [inline]

Definition at line 69 of file RecMdcHit.h.

References m_adc.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00069 { m_adc = adc;      }

void RecMdcHit::setChisqAdd ( double  pChisq  )  [inline]

Definition at line 64 of file RecMdcHit.h.

References m_pChisq.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00064 { m_pChisq = pChisq;}

void RecMdcHit::setDoca ( double  doca  )  [inline]

Definition at line 71 of file RecMdcHit.h.

References m_doca.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00071 { m_doca = doca;    }      

void RecMdcHit::setDriftDistLeft ( double  ddl  )  [inline]

Definition at line 60 of file RecMdcHit.h.

References m_ddl.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00060 { m_ddl = ddl;      }

void RecMdcHit::setDriftDistRight ( double  ddr  )  [inline]

Definition at line 61 of file RecMdcHit.h.

References m_ddr.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00061 { m_ddr = ddr ;     }

void RecMdcHit::setDriftT ( double  driftT  )  [inline]

Definition at line 70 of file RecMdcHit.h.

References m_driftT.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00070 { m_driftT = driftT;}      

void RecMdcHit::setEntra ( double  entra  )  [inline]

Definition at line 72 of file RecMdcHit.h.

References m_entra.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00072 { m_entra = entra;  }      

void RecMdcHit::setErrDriftDistLeft ( double  erddl  )  [inline]

Definition at line 62 of file RecMdcHit.h.

References m_erddl.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00062 { m_erddl = erddl;  }

void RecMdcHit::setErrDriftDistRight ( double  erddr  )  [inline]

Definition at line 63 of file RecMdcHit.h.

References m_erddr.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00063 { m_erddr = erddr;  }

void RecMdcHit::setFlagLR ( int  lr  )  [inline]

Definition at line 65 of file RecMdcHit.h.

References m_lr.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00065 { m_lr = lr;        }

void RecMdcHit::setFltLen ( double  fltLen  )  [inline]

Definition at line 74 of file RecMdcHit.h.

References m_fltLen.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00074 { m_fltLen = fltLen;}

void RecMdcHit::setId ( int  id  )  [inline]

Definition at line 58 of file RecMdcHit.h.

References m_id.

Referenced by TTrackManager::makeTds(), and RecMdcHitCnv::TObjectToDataObject().

00058 { m_id = id;        }

void RecMdcHit::setMdcId ( Identifier  mdcid  )  [inline]

Definition at line 67 of file RecMdcHit.h.

References m_mdcid.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00067 { m_mdcid = mdcid;  }

void RecMdcHit::setStat ( int  stat  )  [inline]

Definition at line 66 of file RecMdcHit.h.

References m_stat.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00066 { m_stat = stat;    }

void RecMdcHit::setTdc ( double  tdc  )  [inline]

Definition at line 68 of file RecMdcHit.h.

References m_tdc.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00068 { m_tdc = tdc;      }

void RecMdcHit::setTrkId ( int  trkid  )  [inline]

Definition at line 59 of file RecMdcHit.h.

References m_trkid.

Referenced by TTrackManager::makeTds(), and RecMdcHitCnv::TObjectToDataObject().

00059 { m_trkid = trkid;  }

void RecMdcHit::setZhit ( double  zhit  )  [inline]

Definition at line 73 of file RecMdcHit.h.

References m_zhit.

Referenced by TTrackManager::makeTds(), MdcxCosmicSewer::MdcxHitsToHots(), and RecMdcHitCnv::TObjectToDataObject().

00073 { m_zhit = zhit;    }      


Member Data Documentation

double RecMdcHit::m_adc [private]

Definition at line 91 of file RecMdcHit.h.

Referenced by getAdc(), and setAdc().

double RecMdcHit::m_ddl [private]

Definition at line 82 of file RecMdcHit.h.

Referenced by getDriftDistLeft(), and setDriftDistLeft().

double RecMdcHit::m_ddr [private]

Definition at line 83 of file RecMdcHit.h.

Referenced by getDriftDistRight(), and setDriftDistRight().

double RecMdcHit::m_doca [private]

Definition at line 93 of file RecMdcHit.h.

Referenced by getDoca(), and setDoca().

double RecMdcHit::m_driftT [private]

Definition at line 92 of file RecMdcHit.h.

Referenced by getDriftT(), and setDriftT().

double RecMdcHit::m_entra [private]

Definition at line 94 of file RecMdcHit.h.

Referenced by getEntra(), and setEntra().

double RecMdcHit::m_erddl [private]

Definition at line 84 of file RecMdcHit.h.

Referenced by getErrDriftDistLeft(), and setErrDriftDistLeft().

double RecMdcHit::m_erddr [private]

Definition at line 85 of file RecMdcHit.h.

Referenced by getErrDriftDistRight(), and setErrDriftDistRight().

double RecMdcHit::m_fltLen [private]

Definition at line 96 of file RecMdcHit.h.

Referenced by getFltLen(), and setFltLen().

int RecMdcHit::m_id [private]

Definition at line 79 of file RecMdcHit.h.

Referenced by getId(), and setId().

int RecMdcHit::m_lr [private]

Definition at line 87 of file RecMdcHit.h.

Referenced by getFlagLR(), and setFlagLR().

Identifier RecMdcHit::m_mdcid [private]

Definition at line 89 of file RecMdcHit.h.

Referenced by getMdcId(), and setMdcId().

double RecMdcHit::m_pChisq [private]

Definition at line 86 of file RecMdcHit.h.

Referenced by getChisqAdd(), and setChisqAdd().

int RecMdcHit::m_stat [private]

Definition at line 88 of file RecMdcHit.h.

Referenced by getStat(), and setStat().

double RecMdcHit::m_tdc [private]

Definition at line 90 of file RecMdcHit.h.

Referenced by getTdc(), and setTdc().

int RecMdcHit::m_trkid [private]

Definition at line 80 of file RecMdcHit.h.

Referenced by getTrkId(), isGrouped(), and setTrkId().

double RecMdcHit::m_zhit [private]

Definition at line 95 of file RecMdcHit.h.

Referenced by getZhit(), and setZhit().


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