Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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
const UShort_t GetPlane () const
const UShort_t GetStrip () const
const Int_t GetHitBit () const
const Float_t GetTrueEnergyDep () const
const Float_t GetTPos () const
const Float_t GetPosPERaw () const
const Float_t GetNegPERaw () const
const Float_t GetPosPECorr () const
const Float_t GetNegPECorr () const
const Float_t GetPosTDC () const
const Float_t GetNegTDC () const
const Float_t GetPosDist () const
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


Constructor & Destructor Documentation

UberMCHit::UberMCHit  ) 
 

Definition at line 11 of file UberMCHit.cxx.

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

const Int_t UberMCHit::GetHitBit  )  const [inline]
 

Definition at line 60 of file UberMCHit.h.

00060 {return hitbit;}

const Float_t UberMCHit::GetNegPECorr  )  const [inline]
 

Definition at line 66 of file UberMCHit.h.

00066 {return ncorr;}

const Float_t UberMCHit::GetNegPERaw  )  const [inline]
 

Definition at line 64 of file UberMCHit.h.

00064 {return nraw;}

const Float_t UberMCHit::GetNegTDC  )  const [inline]
 

Definition at line 68 of file UberMCHit.h.

00068 {return ntdc;}

const Float_t UberMCHit::GetNetDist  )  const [inline]
 

Definition at line 70 of file UberMCHit.h.

00070 {return ndist;}

const UShort_t UberMCHit::GetPlane  )  const [inline]
 

Definition at line 58 of file UberMCHit.h.

00058 {return plane;}

const Float_t UberMCHit::GetPosDist  )  const [inline]
 

Definition at line 69 of file UberMCHit.h.

00069 {return pdist;}

const Float_t UberMCHit::GetPosPECorr  )  const [inline]
 

Definition at line 65 of file UberMCHit.h.

00065 {return pcorr;}

const Float_t UberMCHit::GetPosPERaw  )  const [inline]
 

Definition at line 63 of file UberMCHit.h.

00063 {return praw;}

const Float_t UberMCHit::GetPosTDC  )  const [inline]
 

Definition at line 67 of file UberMCHit.h.

00067 {return ptdc;}

const UShort_t UberMCHit::GetStrip  )  const [inline]
 

Definition at line 59 of file UberMCHit.h.

00059 {return strip;}

const Float_t UberMCHit::GetTPos  )  const [inline]
 

Definition at line 62 of file UberMCHit.h.

00062 {return tpos;}

const Float_t UberMCHit::GetTrueEnergyDep  )  const [inline]
 

Definition at line 61 of file UberMCHit.h.

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(), and Print().

Int_t UberMCHit::hitbit [private]
 

Definition at line 43 of file UberMCHit.h.

Referenced by AddValues(), and Print().

Float_t UberMCHit::ncorr [private]
 

Definition at line 49 of file UberMCHit.h.

Referenced by AddValues(), and Print().

Float_t UberMCHit::ndist [private]
 

Definition at line 53 of file UberMCHit.h.

Referenced by AddValues(), and Print().

Float_t UberMCHit::nraw [private]
 

Definition at line 47 of file UberMCHit.h.

Referenced by AddValues(), and Print().

Float_t UberMCHit::ntdc [private]
 

Definition at line 51 of file UberMCHit.h.

Referenced by AddValues(), and Print().

Float_t UberMCHit::pcorr [private]
 

Definition at line 48 of file UberMCHit.h.

Referenced by AddValues(), and Print().

Float_t UberMCHit::pdist [private]
 

Definition at line 52 of file UberMCHit.h.

Referenced by AddValues(), and Print().

UShort_t UberMCHit::plane [private]
 

Definition at line 41 of file UberMCHit.h.

Referenced by Print(), and SetPlaneStrip().

Float_t UberMCHit::praw [private]
 

Definition at line 46 of file UberMCHit.h.

Referenced by AddValues(), and Print().

Float_t UberMCHit::ptdc [private]
 

Definition at line 50 of file UberMCHit.h.

Referenced by AddValues(), and Print().

UShort_t UberMCHit::strip [private]
 

Definition at line 42 of file UberMCHit.h.

Referenced by Print(), and SetPlaneStrip().

Float_t UberMCHit::tpos [private]
 

Definition at line 45 of file UberMCHit.h.

Referenced by AddValues(), and Print().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:10:26 2010 for loon by  doxygen 1.3.9.1