UberMCHit Class Reference

#include <UberMCHit.h>

List of all members.

Public Member Functions

 UberMCHit ()
 ~UberMCHit ()
void SetPlaneStrip (UShort_t p, UShort_t s)
void AddValues (Int_t hb, Float_t edep, Float_t tpos, Float_t praw, Float_t nraw, Float_t pcorr, Float_t ncorr, Float_t ptdc, Float_t ntdc, Float_t pdist, Float_t ndist)
void Print (Option_t *option="") const
UShort_t GetPlane () const
UShort_t GetStrip () const
Int_t GetHitBit () const
Float_t GetTrueEnergyDep () const
Float_t GetTPos () const
Float_t GetPosPERaw () const
Float_t GetNegPERaw () const
Float_t GetPosPECorr () const
Float_t GetNegPECorr () const
Float_t GetPosTDC () const
Float_t GetNegTDC () const
Float_t GetPosDist () const
Float_t GetNetDist () const

Private Attributes

UShort_t plane
UShort_t strip
Int_t hitbit
Float_t edeptrue
Float_t tpos
Float_t praw
Float_t nraw
Float_t pcorr
Float_t ncorr
Float_t ptdc
Float_t ntdc
Float_t pdist
Float_t ndist

Detailed Description

Definition at line 8 of file UberMCHit.h.


Constructor & Destructor Documentation

UberMCHit::UberMCHit (  ) 

Definition at line 11 of file UberMCHit.cxx.

References Msg::kDebug, and MSG.

00011                     :
00012   plane(0),
00013   strip(0),
00014   hitbit(0),   
00015   edeptrue(0.),
00016   tpos(0.),    
00017   praw(0.),    
00018   nraw(0.), 
00019   pcorr(0.),
00020   ncorr(0.),
00021   ptdc(0.), 
00022   ntdc(0.), 
00023   pdist(0.),
00024   ndist(0.)
00025 
00026 {
00027   MSG("UberMCHit",Msg::kDebug)<<"In UberMCHit creator"<<endl;
00028 }//end UberMCHit(UShort_t, UShort_t)
//_______________________________________________________________________________

UberMCHit::~UberMCHit (  ) 

Definition at line 30 of file UberMCHit.cxx.

00031 {}//end ~UberMCHit()


Member Function Documentation

void UberMCHit::AddValues ( Int_t  hb,
Float_t  edep,
Float_t  tpos,
Float_t  praw,
Float_t  nraw,
Float_t  pcorr,
Float_t  ncorr,
Float_t  ptdc,
Float_t  ntdc,
Float_t  pdist,
Float_t  ndist 
)

Definition at line 40 of file UberMCHit.cxx.

References edeptrue, hitbit, ncorr, ndist, nraw, ntdc, pcorr, pdist, praw, ptdc, and tpos.

Referenced by UberMC::AddNextHitValues().

00043 {//se is stripend, rest of parameters are obvious
00044   hitbit = hb;
00045   edeptrue = edep;
00046   tpos =tps;
00047   praw = pr;
00048   nraw = nr;
00049   pcorr = pc;
00050   ncorr = nc;
00051   ptdc = pt;
00052   ntdc = nt;
00053   pdist = pd;
00054   ndist = nd;
00055 
00056   //  Print();  
00057   return;
00058 }//end AddValues()

Int_t UberMCHit::GetHitBit (  )  const [inline]

Definition at line 60 of file UberMCHit.h.

References hitbit.

00060 {return hitbit;}

Float_t UberMCHit::GetNegPECorr (  )  const [inline]

Definition at line 66 of file UberMCHit.h.

References ncorr.

00066 {return ncorr;}

Float_t UberMCHit::GetNegPERaw (  )  const [inline]

Definition at line 64 of file UberMCHit.h.

References nraw.

00064 {return nraw;}

Float_t UberMCHit::GetNegTDC (  )  const [inline]

Definition at line 68 of file UberMCHit.h.

References ntdc.

00068 {return ntdc;}

Float_t UberMCHit::GetNetDist (  )  const [inline]

Definition at line 70 of file UberMCHit.h.

References ndist.

00070 {return ndist;}

UShort_t UberMCHit::GetPlane (  )  const [inline]

Definition at line 58 of file UberMCHit.h.

References plane.

00058 {return plane;}

Float_t UberMCHit::GetPosDist (  )  const [inline]

Definition at line 69 of file UberMCHit.h.

References pdist.

00069 {return pdist;}

Float_t UberMCHit::GetPosPECorr (  )  const [inline]

Definition at line 65 of file UberMCHit.h.

References pcorr.

00065 {return pcorr;}

Float_t UberMCHit::GetPosPERaw (  )  const [inline]

Definition at line 63 of file UberMCHit.h.

References praw.

00063 {return praw;}

Float_t UberMCHit::GetPosTDC (  )  const [inline]

Definition at line 67 of file UberMCHit.h.

References ptdc.

00067 {return ptdc;}

UShort_t UberMCHit::GetStrip (  )  const [inline]

Definition at line 59 of file UberMCHit.h.

References strip.

00059 {return strip;}

Float_t UberMCHit::GetTPos (  )  const [inline]

Definition at line 62 of file UberMCHit.h.

References tpos.

00062 {return tpos;}

Float_t UberMCHit::GetTrueEnergyDep (  )  const [inline]

Definition at line 61 of file UberMCHit.h.

References edeptrue.

00061 {return edeptrue;}

void UberMCHit::Print ( Option_t *  option = ""  )  const

Definition at line 60 of file UberMCHit.cxx.

References edeptrue, hitbit, ncorr, ndist, nraw, ntdc, pcorr, pdist, plane, praw, ptdc, strip, and tpos.

00061 {
00062   cout<<"________________________________________________"<<endl;
00063   cout<<"Plane "<<plane<<" Strip "<<strip<<endl
00064       <<"Hitbit "<<hitbit<<" True Energy Deposit "<<edeptrue
00065       <<" Transverse position "<<tpos<<endl
00066       <<"Raw pe pos "<<praw<<" Raw pe neg "<<nraw<<endl
00067       <<"Atten. corrected pe pos "<<pcorr<<" Atten. corrected pe neg "<<ncorr<<endl
00068       <<"Time pos. "<<ptdc<<" Time neg. "<<ntdc<<endl
00069       <<"Energy weighted distance to pos. "<<pdist
00070       <<" Energy weighted distance to neg. "<<ndist<<endl;
00071 }//end Print()

void UberMCHit::SetPlaneStrip ( UShort_t  p,
UShort_t  s 
)

Definition at line 33 of file UberMCHit.cxx.

References plane, and strip.

Referenced by UberMC::AddNextHit().

00034 {
00035   plane = p;
00036   strip =s ;
00037   
00038 }//end SetPlaneStrip()


Member Data Documentation

Float_t UberMCHit::edeptrue [private]

Definition at line 44 of file UberMCHit.h.

Referenced by AddValues(), GetTrueEnergyDep(), and Print().

Int_t UberMCHit::hitbit [private]

Definition at line 43 of file UberMCHit.h.

Referenced by AddValues(), GetHitBit(), and Print().

Float_t UberMCHit::ncorr [private]

Definition at line 49 of file UberMCHit.h.

Referenced by AddValues(), GetNegPECorr(), and Print().

Float_t UberMCHit::ndist [private]

Definition at line 53 of file UberMCHit.h.

Referenced by AddValues(), GetNetDist(), and Print().

Float_t UberMCHit::nraw [private]

Definition at line 47 of file UberMCHit.h.

Referenced by AddValues(), GetNegPERaw(), and Print().

Float_t UberMCHit::ntdc [private]

Definition at line 51 of file UberMCHit.h.

Referenced by AddValues(), GetNegTDC(), and Print().

Float_t UberMCHit::pcorr [private]

Definition at line 48 of file UberMCHit.h.

Referenced by AddValues(), GetPosPECorr(), and Print().

Float_t UberMCHit::pdist [private]

Definition at line 52 of file UberMCHit.h.

Referenced by AddValues(), GetPosDist(), and Print().

UShort_t UberMCHit::plane [private]

Definition at line 41 of file UberMCHit.h.

Referenced by GetPlane(), Print(), and SetPlaneStrip().

Float_t UberMCHit::praw [private]

Definition at line 46 of file UberMCHit.h.

Referenced by AddValues(), GetPosPERaw(), and Print().

Float_t UberMCHit::ptdc [private]

Definition at line 50 of file UberMCHit.h.

Referenced by AddValues(), GetPosTDC(), and Print().

UShort_t UberMCHit::strip [private]

Definition at line 42 of file UberMCHit.h.

Referenced by GetStrip(), Print(), and SetPlaneStrip().

Float_t UberMCHit::tpos [private]

Definition at line 45 of file UberMCHit.h.

Referenced by AddValues(), GetTPos(), and Print().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1