#include <UberRecHeader.h>
Inheritance diagram for UberRecHeader:

Public Member Functions | |
| UberRecHeader () | |
| UberRecHeader (const VldContext &vld) | |
| virtual | ~UberRecHeader () |
| virtual std::ostream & | Print (std::ostream &os) const |
| virtual void | Print (Option_t *option="") const |
| const Int_t | GetRunNo () const |
| const Int_t | GetSubRunNo () const |
| const time_t | GetStartTime () const |
| const Float_t | GetTemperature () const |
| const Float_t | GetBeamMomentum () const |
| void | SetRunNo (Int_t r) |
| void | SetSubRunNo (Int_t r) |
| void | SetStartTime (time_t t) |
| void | SetTemperature (Float_t temp) |
| void | SetBeamMomentum (Float_t p) |
Private Attributes | |
| Int_t | runno |
| Int_t | subrunno |
| time_t | tstart |
| Float_t | tmper |
| Float_t | beamp |
|
|
Definition at line 14 of file UberRecHeader.cxx. 00014 : 00015 RecHeader(), 00016 runno(0), 00017 subrunno(0), 00018 tstart(0), 00019 tmper(0.), 00020 beamp(0.) 00021 {}//end UberRecHeader() //_______________________________________________________________________________
|
|
|
Definition at line 24 of file UberRecHeader.cxx. 00024 : 00025 RecHeader(vld), 00026 runno(0), 00027 subrunno(0), 00028 tstart(0), 00029 tmper(0.), 00030 beamp(0.) 00031 {}//end UberRecHeader()
|
|
|
Definition at line 35 of file UberRecHeader.cxx. 00036 {}//end ~UberRecHeader()
|
|
|
Definition at line 46 of file UberRecHeader.h. Referenced by CalDet2003PlotsModule::Ana(), and CalDetInfoAna::Analyze(). 00046 {return beamp;}
|
|
|
Definition at line 42 of file UberRecHeader.h. 00042 {return runno;}
|
|
|
Definition at line 44 of file UberRecHeader.h. Referenced by NueRecordAna::Analyze(). 00044 {return tstart;}
|
|
|
Definition at line 43 of file UberRecHeader.h. 00043 {return subrunno;}
|
|
|
Definition at line 45 of file UberRecHeader.h. 00045 {return tmper;}
|
|
|
Reimplemented from RecHeader. Definition at line 40 of file UberRecHeader.cxx. References Print(). 00041 {
00042
00043 UberRecHeader::Print(std::cout);
00044 return;
00045
00046 }//end Print(Option_t*)
|
|
|
Reimplemented from RecHeader. Definition at line 50 of file UberRecHeader.cxx. References beamp, runno, subrunno, tmper, and tstart. Referenced by Print(). 00051 {
00052
00053 struct tm *t = localtime(&tstart);
00054 char date[50];
00055 strftime(date,49,"%B %d, %Y %X",t);
00056 os<<"*******UberRecHeader:"<<endl
00057 <<"Run number "<<runno<<endl
00058 <<"SubRun number "<<subrunno<<endl
00059 <<"Start of run "<<date<<endl
00060 <<"Temperature "<<tmper<<endl
00061 <<" Beam Momentum "<<beamp<<endl;
00062
00063
00064 return os;
00065 }//end Print()
|
|
|
Definition at line 51 of file UberRecHeader.h. References beamp. Referenced by UberModuleLite::Reco(), and UberModule::Reco(). 00051 {beamp = p;}
|
|
|
Definition at line 48 of file UberRecHeader.h. References runno. Referenced by UberModuleLite::Reco(), and UberModule::Reco(). 00048 {runno = r;}
|
|
|
Definition at line 52 of file UberRecHeader.h. References tstart. Referenced by UberModuleLite::Reco(), and UberModule::Reco(). 00052 {tstart = t;}
|
|
|
Definition at line 49 of file UberRecHeader.h. References subrunno. Referenced by UberModule::Reco(). 00049 {subrunno = r;}
|
|
|
Definition at line 50 of file UberRecHeader.h. References tmper. Referenced by UberModuleLite::Reco(), and UberModule::Reco(). 00050 {tmper = temp;}
|
|
|
Definition at line 37 of file UberRecHeader.h. Referenced by Print(), and SetBeamMomentum(). |
|
|
Definition at line 33 of file UberRecHeader.h. Referenced by Print(), and SetRunNo(). |
|
|
Definition at line 34 of file UberRecHeader.h. Referenced by Print(), and SetSubRunNo(). |
|
|
Definition at line 36 of file UberRecHeader.h. Referenced by Print(), and SetTemperature(). |
|
|
Definition at line 35 of file UberRecHeader.h. Referenced by Print(), and SetStartTime(). |
1.3.9.1