CalHelpers::MCDigit Class Reference

#include <Helpers.h>

List of all members.

Public Member Functions

 MCDigit ()
 MCDigit (const PlexStripEndId pse, REROOT_FLSDigit flsdig)
 MCDigit (const MCDigit &mcd)
 ~MCDigit ()
int GetMCPlane () const
int GetMCExtr () const
int GetMCCell () const
float GetMCTPos () const
float GetMCRAWPE () const
float GetMCCorrPE () const
float GetMCTDC () const
int GetMCTubePixel () const
float GetMCSignalPE () const
float GetMCInitialTDC () const
float GetMCAveDistTrue () const
int GetMCHitBits () const
int GetMCCellPos () const
int GetMCPlanePos () const
float GetMCSumETrue () const

Private Attributes

int fMCPlane
int fMCExtr
int fMCCell
float fMCTPos
float fMCRAWPE
float fMCCorrPE
float fMCTDC
int fMCTubePixel
float fMCSignalPE
float fMCInitialTDC
float fMCAveDistTrue
int fMCHitBits
int fMCCellPos
int fMCPlanePos
float fMCSumETrue

Detailed Description

Definition at line 34 of file Helpers.h.


Constructor & Destructor Documentation

CalHelpers::MCDigit::MCDigit (  ) 

Definition at line 50 of file Helpers.cxx.

00050                           :
00051   
00052   fMCPlane(0),
00053   fMCExtr(0),
00054   fMCCell(0),
00055   fMCTPos(0.),
00056   fMCRAWPE(0.),
00057   fMCCorrPE(0.),
00058   fMCTDC(0.),
00059   fMCTubePixel(0),
00060   fMCSignalPE(0.),
00061   fMCInitialTDC(0.),
00062   fMCAveDistTrue(0.),
00063   fMCHitBits(0),
00064   fMCCellPos(0),
00065   fMCPlanePos(0),
00066   fMCSumETrue(0)
00067 {}

CalHelpers::MCDigit::MCDigit ( const PlexStripEndId  pse,
REROOT_FLSDigit  flsdig 
)

Definition at line 69 of file Helpers.cxx.

References REROOT_FLSDigit::AveDistTrueA(), REROOT_FLSDigit::AveDistTrueB(), REROOT_FLSDigit::CellPos(), REROOT_FLSDigit::CorrA(), REROOT_FLSDigit::CorrB(), fMCAveDistTrue, fMCCell, fMCCellPos, fMCCorrPE, fMCExtr, fMCHitBits, fMCInitialTDC, fMCPlane, fMCPlanePos, fMCRAWPE, fMCSignalPE, fMCSumETrue, fMCTDC, fMCTPos, fMCTubePixel, PlexStripEndId::GetEnd(), PlexPlaneId::GetPlane(), PlexStripEndId::GetStrip(), REROOT_FLSDigit::HitBits(), REROOT_FLSDigit::ICell(), REROOT_FLSDigit::IExtr(), REROOT_FLSDigit::InitialTDCA(), REROOT_FLSDigit::InitialTDCB(), REROOT_FLSDigit::IPln(), StripEnd::kNegative, REROOT_FLSDigit::PlanePos(), REROOT_FLSDigit::RawA(), REROOT_FLSDigit::RawB(), REROOT_FLSDigit::SignalPEA(), REROOT_FLSDigit::SignalPEB(), REROOT_FLSDigit::SumETrue(), REROOT_FLSDigit::TDCA(), REROOT_FLSDigit::TDCB(), REROOT_FLSDigit::TPos(), REROOT_FLSDigit::TubePixelA(), and REROOT_FLSDigit::TubePixelB().

00070 {  
00071   fMCPlane = flsdig.IPln();
00072   fMCExtr = flsdig.IExtr();
00073   fMCCell = flsdig.ICell(); 
00074   fMCTPos = flsdig.TPos();
00075   fMCHitBits = flsdig.HitBits(); 
00076   fMCCellPos = flsdig.CellPos();
00077   fMCPlanePos = flsdig.PlanePos(); 
00078 
00079   if(pse.GetEnd()==StripEnd::kNegative){
00080     fMCRAWPE = flsdig.RawA();
00081     fMCCorrPE = flsdig.CorrA();
00082     fMCTDC = flsdig.TDCA();
00083     fMCTubePixel = flsdig.TubePixelA(); 
00084     fMCSignalPE = flsdig.SignalPEA();
00085     fMCInitialTDC = flsdig.InitialTDCA();
00086     fMCAveDistTrue = flsdig.AveDistTrueA();
00087   }
00088   else{
00089     fMCRAWPE = flsdig.RawB();
00090     fMCCorrPE = flsdig.CorrB();
00091     fMCTDC = flsdig.TDCB();
00092     fMCTubePixel = flsdig.TubePixelB(); 
00093     fMCSignalPE = flsdig.SignalPEB();
00094     fMCInitialTDC = flsdig.InitialTDCB();
00095     fMCAveDistTrue = flsdig.AveDistTrueB();
00096   }
00097   // added by MAK
00098   fMCSumETrue=flsdig.SumETrue();
00099   if(fMCRAWPE<=0){
00100       cout<<"MCDigit Constructor: fMCRAWPE <= 0"<<endl
00101           <<"flsdig.RawA(): "<<flsdig.RawA()<<endl
00102           <<"flsdig.RawB(): "<<flsdig.RawB()<<endl
00103           <<"Plane: "<<pse.GetPlane()<<endl
00104           <<"Strip: "<<pse.GetStrip()<<endl
00105           <<"Strip End: "<<pse.GetEnd()<<endl
00106           <<endl;
00107   }
00108 }

CalHelpers::MCDigit::MCDigit ( const MCDigit mcd  ) 

Definition at line 110 of file Helpers.cxx.

00110                                             :
00111   fMCPlane(mcd.fMCPlane),
00112   fMCExtr(mcd.fMCExtr),
00113   fMCCell(mcd.fMCCell),
00114   fMCTPos(mcd.fMCTPos),
00115   fMCRAWPE(mcd.fMCRAWPE),
00116   fMCCorrPE(mcd.fMCCorrPE),
00117   fMCTDC(mcd.fMCTDC),
00118   fMCTubePixel(mcd.fMCTubePixel),
00119   fMCSignalPE(mcd.fMCSignalPE),
00120   fMCInitialTDC(mcd.fMCInitialTDC),
00121   fMCAveDistTrue(mcd.fMCAveDistTrue),
00122   fMCHitBits(mcd.fMCHitBits),
00123   fMCCellPos(mcd.fMCCellPos),
00124   fMCPlanePos(mcd.fMCPlanePos),
00125   fMCSumETrue(mcd.fMCSumETrue)
00126 {}

CalHelpers::MCDigit::~MCDigit (  ) 

Definition at line 130 of file Helpers.cxx.

00130 {}


Member Function Documentation

float CalHelpers::MCDigit::GetMCAveDistTrue (  )  const [inline]

Definition at line 100 of file Helpers.h.

References fMCAveDistTrue.

00100 {return fMCAveDistTrue;}

int CalHelpers::MCDigit::GetMCCell (  )  const [inline]

Definition at line 92 of file Helpers.h.

References fMCCell.

00092 {return fMCCell;}

int CalHelpers::MCDigit::GetMCCellPos (  )  const [inline]

Definition at line 102 of file Helpers.h.

References fMCCellPos.

00102 {return fMCCellPos;} 

float CalHelpers::MCDigit::GetMCCorrPE (  )  const [inline]

Definition at line 95 of file Helpers.h.

References fMCCorrPE.

00095 {return fMCCorrPE;}

int CalHelpers::MCDigit::GetMCExtr (  )  const [inline]

Definition at line 91 of file Helpers.h.

References fMCExtr.

00091 {return fMCExtr;}

int CalHelpers::MCDigit::GetMCHitBits (  )  const [inline]

Definition at line 101 of file Helpers.h.

References fMCHitBits.

00101 {return fMCHitBits;}

float CalHelpers::MCDigit::GetMCInitialTDC (  )  const [inline]

Definition at line 99 of file Helpers.h.

References fMCInitialTDC.

00099 {return fMCInitialTDC;}

int CalHelpers::MCDigit::GetMCPlane (  )  const [inline]

Definition at line 90 of file Helpers.h.

References fMCPlane.

00090 {return fMCPlane;}

int CalHelpers::MCDigit::GetMCPlanePos (  )  const [inline]

Definition at line 103 of file Helpers.h.

References fMCPlanePos.

00103 {return fMCPlanePos;}

float CalHelpers::MCDigit::GetMCRAWPE (  )  const [inline]

Definition at line 94 of file Helpers.h.

References fMCRAWPE.

00094 {return fMCRAWPE;}

float CalHelpers::MCDigit::GetMCSignalPE (  )  const [inline]

Definition at line 98 of file Helpers.h.

References fMCSignalPE.

00098 {return fMCSignalPE;}

float CalHelpers::MCDigit::GetMCSumETrue (  )  const [inline]

Definition at line 106 of file Helpers.h.

References fMCSumETrue.

00106 {return fMCSumETrue;}

float CalHelpers::MCDigit::GetMCTDC (  )  const [inline]

Definition at line 96 of file Helpers.h.

References fMCTDC.

00096 {return fMCTDC;}

float CalHelpers::MCDigit::GetMCTPos (  )  const [inline]

Definition at line 93 of file Helpers.h.

References fMCTPos.

00093 {return fMCTPos;}

int CalHelpers::MCDigit::GetMCTubePixel (  )  const [inline]

Definition at line 97 of file Helpers.h.

References fMCTubePixel.

00097 {return fMCTubePixel;}


Member Data Documentation

Definition at line 70 of file Helpers.h.

Referenced by GetMCAveDistTrue(), and MCDigit().

Definition at line 62 of file Helpers.h.

Referenced by GetMCCell(), and MCDigit().

Definition at line 72 of file Helpers.h.

Referenced by GetMCCellPos(), and MCDigit().

Definition at line 65 of file Helpers.h.

Referenced by GetMCCorrPE(), and MCDigit().

Definition at line 61 of file Helpers.h.

Referenced by GetMCExtr(), and MCDigit().

Definition at line 71 of file Helpers.h.

Referenced by GetMCHitBits(), and MCDigit().

Definition at line 69 of file Helpers.h.

Referenced by GetMCInitialTDC(), and MCDigit().

Definition at line 60 of file Helpers.h.

Referenced by GetMCPlane(), and MCDigit().

Definition at line 73 of file Helpers.h.

Referenced by GetMCPlanePos(), and MCDigit().

Definition at line 64 of file Helpers.h.

Referenced by GetMCRAWPE(), and MCDigit().

Definition at line 68 of file Helpers.h.

Referenced by GetMCSignalPE(), and MCDigit().

Definition at line 74 of file Helpers.h.

Referenced by GetMCSumETrue(), and MCDigit().

float CalHelpers::MCDigit::fMCTDC [private]

Definition at line 66 of file Helpers.h.

Referenced by GetMCTDC(), and MCDigit().

Definition at line 63 of file Helpers.h.

Referenced by GetMCTPos(), and MCDigit().

Definition at line 67 of file Helpers.h.

Referenced by GetMCTubePixel(), and MCDigit().


The documentation for this class was generated from the following files:

Generated on 8 May 2018 for loon by  doxygen 1.6.1