00001 00002 // $Id: ANtpRecoInfo.h,v 1.17 2009/10/29 11:16:30 rodriges Exp $ 00003 // 00004 // A class to hold information about an event in an analysis ntuple 00005 // 00006 // B. Rebel 1/2005 00008 #ifndef ANTPRECOINFO_H 00009 #define ANTPRECOINFO_H 00010 00011 #include "TObject.h" 00012 00013 class ANtpRecoInfo : public TObject 00014 { 00015 00016 public: 00017 ANtpRecoInfo(); 00018 virtual ~ANtpRecoInfo(); 00019 00020 void Reset(); 00021 00022 // The run period this was generated for, if MC. This should really 00023 // go in ANtpHeaderInfo, but that would require reprocessing antps, so it goes here 00024 Int_t runPeriod; 00025 00026 //the following variables are standard for every analysis and are mostly 00027 //taken from D. Petyt's PAN in the Mad package. 00028 //for all flag variables 0 = false, 1 = true 00029 Int_t inFiducialVolume; //flag for whether the neutrino interaction is 00030 //in the fiducial volume 00031 Int_t isFullyContained; //flag for whether the event is fully contained. 00032 Int_t isGoodShower; //flag for whether the shower should be used 00033 Int_t passesCuts; //flag for whether the event passes basic reco(?) cuts 00034 Int_t pass; //flag for whether the event passes analysis cuts 00035 Float_t nuEnergy; 00036 Float_t nuEnergyCC; //reconstructed value of the neutrino energy for cc events 00037 Float_t nuEnergyNC; //reconstructed value of the neutrino energy for nc events 00038 Float_t muEnergy; //reconstructed value of the muon energy 00039 Float_t showerEnergy; //reconstructed value of the shower energy 00040 Float_t showerEnergyCC; //reconstructed value of the shower energy 00041 Float_t showerEnergyNC; //reconstructed value of the shower energy 00042 Float_t qeNuEnergy; //reconstructed quasi-elastic neutrino energy 00043 Float_t qeQ2; //reconstructed quasi-elastic q^2 00044 Float_t hadronicY; //reconstructed y 00045 Float_t nuDCos; //reconstructed track vertex direction cosine w.r.t. neutrino 00046 Float_t muDCosZVtx; //reconstructed track vertex direction cosine in z 00047 Float_t vtxX; //reconstructed event vertex x position 00048 Float_t vtxY; //reconstructed event vertex y position 00049 Float_t vtxZ; //reconstructed event vertex z position 00050 Float_t vtxR; //distance from center of detector (far) or beam spot (near) 00051 Float_t eventLength; //reconstructed event length (units?) 00052 Float_t trackExtension; //track extension 00053 Float_t numberTracks; //number of tracks. 00054 Float_t trackLength; //reconstructed track length (m) 00055 Float_t trackMomentum; //reconstructed track momentum (p/q) 00056 Float_t trackRange; //reconstructed track momentum from range 00057 Float_t sigmaQoverP; //error on reconstructed track momentum 00058 Float_t weight; //how much to weight the current event in the fit 00059 Float_t weightRunII; //how much to weight the current event in the fit for Run II 00060 Float_t weightRunIII; //how much to weight the current event in the fit for Run III 00061 Float_t error; //error associated with this event 00062 Int_t eventInSnarl; //which event in the snarl is this? 00063 Double_t minTimeSeparation; //time to closest event in snarl (signed) 00064 Int_t closeTimeEvent; //index to the closest other event in time 00065 Float_t slicePHFraction; // fraction of slice PH in event 00066 Double_t evtTimeDiff; //difference between events time from each 00067 //event time evaluated as the mean event strip time 00068 //with other events 00069 00070 Float_t sharedStripFraction; //fraction of physical event strips in common 00071 Int_t isCleanLowMultSnarl; //flag indicating this event is from a cleaned low multiplicity snarl 00072 //multiplicity snarl (Tobi's) 00073 Int_t isMultiCutsClean; //flag indicating this event is from a cleaned high 00074 Int_t isSimpleCutsClean; //flag indicating this event is from a cleaned high 00075 00076 //multiplicity snarl (Gemma's) 00077 00078 Float_t closeTimeDeltaZ; // distance in z to event closest in time 00079 Int_t edgeActivityStrips; // number of strips in partially 00080 // instrumented region in 40ns time window 00081 Float_t edgeActivityPH; // summed PH in partially instrumented 00082 // region in 40ns time window 00083 Int_t oppEdgeStrips; // number of strips in opposite edge 00084 // region in 40ns time window 00085 Float_t oppEdgePH; // summed PH in opposite edge 00086 // region in 40ns time window 00087 00088 Float_t evtEnergyGeV; //energy of event in GeV 00089 00090 Int_t planes; //number of planes in event 00091 Int_t totalStrips; //number of strips in event 00092 00093 Int_t showerTotalStrips; //number of strips in shower 00094 Int_t showerPlanes; //planes in shower 00095 Int_t trackPlanes; //planes in track 00096 00097 00098 Double_t deltaTimeSpill; //time between first strip in event and time of spill 00099 00100 private: 00101 00102 00103 ClassDef(ANtpRecoInfo, 12) //ANtpRecoInfo 00104 }; 00105 00106 #endif // ANTPRECOINFO_H 00107 00108
1.3.9.1