00001 00002 // $Id: ANtpBeamInfo.h,v 1.10 2010/01/20 12:11:53 tinti Exp $ 00003 // 00004 // A class to hold information about an event in an analysis ntuple 00005 // 00006 // B. Rebel 1/2005 00008 #ifndef ANTPBEAMINFO_H 00009 #define ANTPBEAMINFO_H 00010 00011 #include "TObject.h" 00012 00013 class ANtpBeamInfo : public TObject 00014 { 00015 00016 public: 00017 ANtpBeamInfo(); 00018 virtual ~ANtpBeamInfo(); 00019 00020 void Reset(); 00021 00022 //the following variables closely resemble the ones in the BeamDataNtuple/NtpBD records 00023 Double_t tor101; // proton intensity at toroid 101 (10e12 POT) 00024 Double_t tr101d; // proton intensity at toroid 101d (10e12 POT) 00025 Double_t tortgt; // proton intensity at toroid tgt (10e12 POT) 00026 Double_t trtgtd; // proton intensity at toroid tgtd (10e12 POT) 00027 Double_t hornCurrent; // total peak horn current (kA) 00028 Double_t targetBPMX; // X beam pos at target from BPM 121 and TGT (mm) 00029 Double_t targetBPMY; // Y beam pos at target from BPM 121 and TGT (mm) 00030 Double_t profileWidthX; // X beam width from prof mon (mm), <0 if out 00031 Double_t profileWidthY; // Y beam width from prof mon (mm), <0 if out 00032 Double_t hadronIntensity; // total intensity in hadron monitor 00033 Double_t muonIntensity1; // total intensity in muon monitor 1 00034 Double_t muonIntensity2; // total intensity in muon monitor 2 00035 Double_t muonIntensity3; // total intensity in muon monitor 3 00036 Int_t beamType; // beam type from Conventions/BeamType.h (canonical encoding) 00037 Double_t protonIntensity; // protons on target 00038 Double_t timeToNearestSpill; // time to nearest spill in seconds 00039 Double_t streamSpillTimeDiff;// delta t between found spill and stream in s 00040 Int_t nearestSecToSpill; // second from unix epoc to nearest spill 00041 Int_t nearestNSToSpill; // ns past second from unix epoc to nearest spill 00042 Int_t goodSpill; // flag set from BMSpillAna class, 0 = false, 1 = true 00043 Int_t deltaSecToSpillGPS; // difference in seconds between time of event and 00044 // spill for GPS error determination 00045 Int_t gpsError; // error in GPS in ns 00046 00047 private: 00048 00049 00050 ClassDef(ANtpBeamInfo, 8) //ANtpBeamInfo 00051 }; 00052 00053 #endif // ANTPBEAMINFO_H 00054 00055
1.3.9.1