#include <UberHit.h>
Public Member Functions | |
| UberHit () | |
| virtual | ~UberHit () |
| void | SetPlaneStrip (UShort_t p, UShort_t s) |
| void | AddValues (StripEnd::StripEnd_t se, Int_t adc, Float_t siglin, Float_t npe, Float_t mip, Float_t time, Int_t pmtagg) |
| virtual 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 | GetPosSigLin () const |
| const Float_t | GetNegSigLin () const |
| const Float_t | GetPosNPE () const |
| const Float_t | GetNegNPE () const |
| const Float_t | GetPosMIP () const |
| const Float_t | GetNegMIP () const |
| const Float_t | GetPosTime () const |
| const Float_t | GetNegTime () const |
| const Int_t | GetPosPMTagg () const |
| const Int_t | GetNegPMTagg () const |
| const UInt_t | GetPosBckt () const |
| const UInt_t | GetNegBckt () const |
Static Public Member Functions | |
| Int_t | GetNUberHit () |
Private Attributes | |
| UShort_t | plane |
| UShort_t | strip |
| Int_t | padc |
| Int_t | nadc |
| Float_t | psiglin |
| Float_t | nsiglin |
| Float_t | pnpe |
| Float_t | nnpe |
| Float_t | pmip |
| Float_t | nmip |
| Float_t | ptime |
| Float_t | ntime |
| Int_t | pagg |
| Int_t | nagg |
| UInt_t | pbckt |
| UInt_t | nbckt |
Static Private Attributes | |
| Int_t | nuberhit = 0 |
|
|
Definition at line 11 of file UberHit.cxx. References MSG. 00011 : 00012 plane(0), 00013 strip(0), 00014 padc(0), 00015 nadc(0), 00016 psiglin(0.), 00017 nsiglin(0.), 00018 pnpe(0.), 00019 nnpe(0.), 00020 pmip(0.), 00021 nmip(0.), 00022 ptime(0.), 00023 ntime(0.), 00024 pagg(0), 00025 nagg(0), 00026 pbckt(0), 00027 nbckt(0) 00028 { 00029 MSG("UberHit",Msg::kDebug)<<"In UberHit creator"<<endl; 00030 nuberhit++; 00031 }//end UberHit(UShort_t, UShort_t) //_______________________________________________________________________________
|
|
|
Definition at line 33 of file UberHit.cxx. References nuberhit. 00034 {nuberhit--;}//end ~UberHit()
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 43 of file UberHit.cxx. References MSG, nadc, nagg, nbckt, nmip, nnpe, nsiglin, ntime, padc, pagg, pbckt, pmip, pnpe, psiglin, and ptime. Referenced by UberRecordLite::AddNextHitValues(), UberRecord::AddNextHitValues(), and UberEvent::AddNextHitValues(). 00046 {//se is stripend, rest of parameters are obvious
00047 //for near detector electronics, we want to do a +=, except for time,
00048 //which we will take to be the first time.
00049
00050 MSG("UberHit",Msg::kDebug)<<"In UberHit AddValues"<<endl;
00051 if(se==StripEnd::kPositive){ //if se==+, fill the p values
00052 if(padc==0){//if we havent filled padc yet, we want to fill time with the
00053 //time of this hit
00054 ptime = time;
00055 pagg = pmtagg;
00056 }
00057 //added 9-29-2003
00058 if(time<ptime){
00059 ptime = time;
00060 }
00061 padc += adc;
00062 psiglin += siglin;
00063 pnpe += npe;
00064 pmip += mip;
00065 pbckt++;
00066 // ptime += time;
00067 //pagg += pmtagg;
00068 }
00069 else if(se==StripEnd::kNegative){ //if se==-, fill n values
00070 if(nadc==0){//if we havent filled nadc yet, we want to fill time with the
00071 //time of this hit
00072 ntime = time;
00073 nagg = pmtagg;
00074 }
00075 //added 9-29-2003
00076 if(time<ntime){
00077 ntime = time;
00078 }
00079 nadc += adc;
00080 nsiglin += siglin;
00081 nnpe += npe;
00082 nmip += mip;
00083 nbckt++;
00084 // ntime += time;
00085 // nagg += pmtagg;
00086 }
00087 else{//somethings gone wrong
00088 MSG("UberUberHit",Msg::kWarning)<<"Strip end unknown, not filling"<<endl;
00089 }
00090
00091 return;
00092 }//end AddValues()
|
|
|
Definition at line 70 of file UberHit.h. Referenced by CalDet2003PlotsModule::Ana(). 00070 {return nadc;}
|
|
|
Definition at line 82 of file UberHit.h. 00082 {return nbckt;}
|
|
|
Definition at line 76 of file UberHit.h. Referenced by UberPlotsModule::Ana(), CalDet2003PlotsModule::Ana(), DCHit::DCHit(), and MSTCalcAna::FillHitSets(). 00076 {return nmip;}
|
|
|
Definition at line 74 of file UberHit.h. Referenced by UberPlotsModule::Ana(). 00074 {return nnpe;}
|
|
|
Definition at line 80 of file UberHit.h. 00080 {return nagg;}
|
|
|
Definition at line 71 of file UberHit.h. 00071 {return nsiglin;}
|
|
|
Definition at line 78 of file UberHit.h. Referenced by CalDet2003PlotsModule::Ana(), and DCHit::DCHit(). 00078 {return ntime;}
|
|
|
Definition at line 63 of file UberHit.h. 00063 {return nuberhit;}
|
|
|
Definition at line 67 of file UberHit.h. Referenced by UberPlotsModule::Ana(), CalDet2003PlotsModule::Ana(), DCHit::DCHit(), and MSTCalcAna::FillHitSets(). 00067 {return plane;}
|
|
|
Definition at line 69 of file UberHit.h. Referenced by CalDet2003PlotsModule::Ana(). 00069 {return padc;}
|
|
|
Definition at line 81 of file UberHit.h. 00081 {return pbckt;}
|
|
|
Definition at line 75 of file UberHit.h. Referenced by UberPlotsModule::Ana(), CalDet2003PlotsModule::Ana(), DCHit::DCHit(), and MSTCalcAna::FillHitSets(). 00075 {return pmip;}
|
|
|
Definition at line 73 of file UberHit.h. Referenced by UberPlotsModule::Ana(). 00073 {return pnpe;}
|
|
|
Definition at line 79 of file UberHit.h. 00079 {return pagg;}
|
|
|
Definition at line 72 of file UberHit.h. 00072 {return psiglin;}
|
|
|
Definition at line 77 of file UberHit.h. Referenced by CalDet2003PlotsModule::Ana(), and DCHit::DCHit(). 00077 {return ptime;}
|
|
|
Definition at line 68 of file UberHit.h. Referenced by UberPlotsModule::Ana(), CalDet2003PlotsModule::Ana(), and DCHit::DCHit(). 00068 {return strip;}
|
|
|
Definition at line 94 of file UberHit.cxx. References nadc, nagg, nbckt, nmip, nnpe, nsiglin, ntime, padc, pagg, pbckt, plane, pmip, pnpe, psiglin, ptime, and strip. Referenced by UberRecordLite::Print(), UberRecord::Print(), and UberEvent::Print(). 00095 {
00096 cout<<"________________________________________________"<<endl;
00097 cout<<"Plane "<<plane<<" Strip "<<strip<<endl
00098 <<"Pos adc "<<padc<<" Neg adc "<<nadc<<endl
00099 <<"Pos Sig Lin "<<psiglin<<" Neg SigLin "<<nsiglin<<endl
00100 <<"Pos npe "<<pnpe<<" Neg npe "<<nnpe<<endl
00101 <<"Pos mip "<<pmip<<" Neg mip "<<nmip<<endl
00102 <<"Pos time "<<ptime<<" Neg time "<<ntime<<endl
00103 <<"Pos agg "<<hex<<pagg<<dec<<" Neg agg "<<hex<<nagg<<dec
00104 <<"Pos num. buckets "<<pbckt<<" Neg num. buckets "<<nbckt<<endl;
00105
00106 }//end Print()
|
|
||||||||||||
|
Definition at line 36 of file UberHit.cxx. Referenced by UberRecordLite::AddNextHit(), UberRecord::AddNextHit(), and UberEvent::AddNextHit().
|
|
|
Definition at line 47 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 57 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 59 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 53 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 51 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 49 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 55 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 9 of file UberHit.cxx. Referenced by ~UberHit(). |
|
|
Definition at line 46 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 56 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 58 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 44 of file UberHit.h. Referenced by Print(), and SetPlaneStrip(). |
|
|
Definition at line 52 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 50 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 48 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 54 of file UberHit.h. Referenced by AddValues(), and Print(). |
|
|
Definition at line 45 of file UberHit.h. Referenced by Print(), and SetPlaneStrip(). |
1.3.9.1