#include <UberCosmicHit.h>
Public Member Functions | |
| UberCosmicHit () | |
| ~UberCosmicHit () | |
| void | SetPlaneStrip (UShort_t p, UShort_t s) |
| void | AddValues (StripEnd::StripEnd_t se, Int_t adc, Float_t time, Int_t pmtagg) |
| void | Print (Option_t *option="") const |
| const UShort_t | GetPlane () const |
| const UShort_t | GetStrip () const |
| const Int_t | GetPosADC () const |
| const Int_t | GetNegADC () const |
| const Float_t | GetPosTime () const |
| const Float_t | GetNegTime () const |
| const Int_t | GetPosPMTagg () const |
| const Int_t | GetNegPMTagg () const |
Private Attributes | |
| UShort_t | plane |
| UShort_t | strip |
| Int_t | padc |
| Int_t | nadc |
| Float_t | ptime |
| Float_t | ntime |
| Int_t | pagg |
| Int_t | nagg |
|
|
Definition at line 11 of file UberCosmicHit.cxx. References MSG. 00011 : 00012 plane(0), 00013 strip(0), 00014 padc(0), 00015 nadc(0), 00016 ptime(0.), 00017 ntime(0.) 00018 { 00019 MSG("UberCosmicHit",Msg::kDebug)<<"In UberCosmicHit creator"<<endl; 00020 }//end UberCosmicHit(UShort_t, UShort_t) //_______________________________________________________________________________
|
|
|
Definition at line 22 of file UberCosmicHit.cxx. 00023 {}//end ~UberCosmicHit()
|
|
||||||||||||||||||||
|
Definition at line 32 of file UberCosmicHit.cxx. References MSG, nadc, nagg, ntime, padc, pagg, and ptime. Referenced by UberRecordLite::AddNextCosmicHitValues(), and UberEvent::AddNextCosmicHitValues(). 00034 {//se is stripend, rest of parameters are obvious
00035 MSG("UberCosmicHit",Msg::kDebug)<<"In UberCosmicHit AddValues"<<endl;
00036 if(se==StripEnd::kPositive){ //if se==+, fill the p values
00037 padc = adc;
00038 ptime = time;
00039 pagg = pmtagg;
00040 }
00041 else if(se==StripEnd::kNegative){ //if se==-, fill n values
00042 nadc = adc;
00043 ntime = time;
00044 nagg = pmtagg;
00045 }
00046 else{//somethings gone wrong
00047 MSG("UberUberCosmicHit",Msg::kWarning)<<"Strip end unknown, not filling"<<endl;
00048 }
00049
00050 return;
00051 }//end AddValues()
|
|
|
Definition at line 50 of file UberCosmicHit.h. 00050 {return nadc;}
|
|
|
Definition at line 54 of file UberCosmicHit.h. 00054 {return nagg;}
|
|
|
Definition at line 52 of file UberCosmicHit.h. 00052 {return ntime;}
|
|
|
Definition at line 47 of file UberCosmicHit.h. 00047 {return plane;}
|
|
|
Definition at line 49 of file UberCosmicHit.h. 00049 {return padc;}
|
|
|
Definition at line 53 of file UberCosmicHit.h. 00053 {return pagg;}
|
|
|
Definition at line 51 of file UberCosmicHit.h. 00051 {return ptime;}
|
|
|
Definition at line 48 of file UberCosmicHit.h. 00048 {return strip;}
|
|
|
Definition at line 53 of file UberCosmicHit.cxx. References nadc, nagg, ntime, padc, pagg, plane, ptime, and strip. 00054 {
00055 cout<<"________________________________________________"<<endl;
00056 cout<<"Plane "<<plane<<" Strip "<<strip<<endl
00057 <<"Pos adc "<<padc<<" Neg adc "<<nadc<<endl
00058 <<"Pos time "<<ptime<<" Neg time "<<ntime<<endl
00059 <<"Pos agg "<<pagg<<" Neg agg "<<nagg<<endl;
00060 }//end Print()
|
|
||||||||||||
|
Definition at line 25 of file UberCosmicHit.cxx. Referenced by UberRecordLite::AddNextCosmicHit(), and UberEvent::AddNextCosmicHit().
|
|
|
Definition at line 38 of file UberCosmicHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 42 of file UberCosmicHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 40 of file UberCosmicHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 37 of file UberCosmicHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 41 of file UberCosmicHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 35 of file UberCosmicHit.h. Referenced by Print(), and SetPlaneStrip(). |
|
|
Definition at line 39 of file UberCosmicHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 36 of file UberCosmicHit.h. Referenced by Print(), and SetPlaneStrip(). |
1.3.9.1