00001 00002 // $Id: ANtpHeaderInfo.h,v 1.26 2009/11/16 14:40:56 pittam Exp $ 00003 // 00004 // A class to hold information about an event in an analysis ntuple 00005 // 00006 // B. Rebel 1/2005 00008 #ifndef ANTPHEADERINFO_H 00009 #define ANTPHEADERINFO_H 00010 00011 #include "TObject.h" 00012 #include "TString.h" 00013 00014 class ANtpHeaderInfo : public TObject 00015 { 00016 00017 public: 00018 ANtpHeaderInfo(); 00019 virtual ~ANtpHeaderInfo(); 00020 00021 void Reset(); 00022 00023 //the following variables are standard for every analysis 00024 Int_t detector; //(int)Detector::kFar or kNear 00025 Int_t dataType; //(int)SimFlag::kData or kMC 00026 Int_t run; //run number 00027 Int_t subRun; //subrun number 00028 Int_t snarl; //snarl number 00029 Int_t newSnarl; //flag for if this is the first instance of a new snarl 00030 Int_t events; //# of events in the snarl 00031 Int_t slices; //# of slices in the snarl 00032 Int_t year; //year value of timestamp 00033 Int_t month; //month value of timestamp 00034 Int_t day; //day value of timestamp 00035 Int_t hour; //hour value of timestamp 00036 Int_t minute; //minute value of timestamp 00037 Double_t second; //second value of timestamp 00038 UInt_t utc; //utc value of timestamp 00039 Double_t julianDate; //heliocentric julian date of timestamp 00040 Double_t localSiderealTime; //local siderial time of timestamp 00041 Int_t coilStatus; //status of magnetic coil - -1 -> reverse, 00042 //0 -> off or unknown, 1 -> foward 00043 Int_t hvStatus; //status of the HV - 0 -> bad, 1 -> good 00044 Double_t coilCurrent; //current of magnetic coil 00045 Double_t snarlPulseHeight; //total ph in the snarl 00046 Double_t snarlPulseHeight2PE;//total ph in the snarl > 2 pe 00047 Int_t triggerSource; //131072 --> remote spill trigger, 65536 --> spill trigger 00048 Int_t spillType; //none=0, reported=1, predicted=2, fake=3, local=4 00049 Double_t triggerPMTTime; //time of latest trigger pmt hit; -1 if none present in snarl 00050 Double_t triggerTime; //time of the event trigger 00051 Int_t passedDeMux; //far det only, 0 if no valid planes or multiple muons, 1 otherwise 00052 Int_t crateMask; //far det only, 16 == all crates on 00053 //Int_t isGoodFDData; //far det only, 0 = false, 1 = true, set by DataUtil::IsGoodFDData() 00054 Int_t isGoodData; //Both detectors, 0 = false, 1 = true, set by DataUtil::IsGoodData() 00055 00056 //"Oxford" variables 00057 Float_t snarlPE; // # of pe in the snarl 00058 Int_t sntpRow; // Row # of the event in the sntp used to make the antp 00059 Int_t isLIold; // Result of LISieve: 0 => not LI, 1 => LI 00060 Int_t isLI; // JdeJong dogwood LI sieve Result of LISieve: 0 => not LI, 1 => LI 00061 00062 //Software Release Version 00063 TString softVersion; 00064 00065 private: 00066 00067 ClassDef(ANtpHeaderInfo, 18) //ANtpHeaderInfo 00068 }; 00069 00070 #endif // ANTPHEADERINFO_H 00071 00072
1.3.9.1