#include <NuFCEvent.h>
Public Member Functions | |
| NuFCEvent () | |
| Blank constuctor. All values set to -999. | |
| NuFCEvent (const NuFCEvent &ev) | |
| Copy Construct, copying values from NuFCEvent ev. | |
| NuFCEvent (const NuEvent &ev) | |
| (sort of) Copy Construct, copying values from NuEvent ev. | |
| void | Extract (const NuEvent &ev) |
| Set the members of this to the values stored in NuEvent ev. | |
| void | Extract (const NuFCEvent &ev) |
| Set the members of this to the values stored in NuFCEvent ev. | |
| void | Reset () |
| Set all members to -999. | |
| ClassDef (NuFCEvent, 3) | |
Public Attributes | |
| Int_t | detector |
| 1=near 2=far | |
| Float_t | energy |
| reconstructed energy | |
| Float_t | trkEn |
| track energy (range or curv. depending on containment) | |
| Float_t | shwEn |
| shower energy (e.g. primary shw energy) | |
| Float_t | rw |
| the weight to use as default | |
| Float_t | energyMC |
| what could be truely reco'd: neuEn*y for NC | |
| Float_t | neuEnMC |
| p4neu[3]; | |
| Int_t | iaction |
| CC=1, NC=0. | |
| Int_t | inu |
| >0 particles, <0 anti-particles | |
| Int_t | inunoosc |
| >0 particles, <0 anti-particles | |
| Int_t | charge |
| +1 or -1: simply derived from qp (from trk fit) | |
| Float_t | ppvz |
| mc.flux.ppvz | |
| Int_t | ptype |
| mc.flux.ptype | |
| Int_t | containedTrk |
| was the track containted | |
| Float_t | fluxErr |
| was the track containted | |
| Float_t | acceptErr |
| error due to acceptance systematic | |
Definition at line 25 of file NuFCEvent.h.
| NuFCEvent::NuFCEvent | ( | ) |
Blank constuctor. All values set to -999.
Definition at line 11 of file NuFCEvent.cxx.
References Reset().
00012 { 00013 this->Reset(); 00014 }
| NuFCEvent::NuFCEvent | ( | const NuFCEvent & | ev | ) |
| NuFCEvent::NuFCEvent | ( | const NuEvent & | ev | ) |
| NuFCEvent::ClassDef | ( | NuFCEvent | , | |
| 3 | ||||
| ) |
| void NuFCEvent::Extract | ( | const NuFCEvent & | ev | ) |
Set the members of this to the values stored in NuFCEvent ev.
Definition at line 56 of file NuFCEvent.cxx.
References charge, containedTrk, detector, energy, energyMC, fluxErr, iaction, inu, inunoosc, neuEnMC, ppvz, ptype, rw, shwEn, and trkEn.
00057 { 00058 detector = ev.detector; 00059 energy = ev.energy; 00060 trkEn = ev.trkEn; 00061 shwEn = ev.shwEn; 00062 rw = ev.rw; 00063 energyMC = ev.energyMC; 00064 neuEnMC = ev.neuEnMC; 00065 iaction = ev.iaction; 00066 inu = ev.inu; 00067 inunoosc = ev.inunoosc; 00068 charge = ev.charge; 00069 ppvz = ev.ppvz; 00070 ptype = ev.ptype; 00071 containedTrk = ev.containedTrk; 00072 fluxErr = ev.fluxErr; 00073 }
| void NuFCEvent::Extract | ( | const NuEvent & | ev | ) |
Set the members of this to the values stored in NuEvent ev.
Definition at line 35 of file NuFCEvent.cxx.
References NuEvent::charge, charge, containedTrk, NuEvent::detector, detector, NuEvent::energy, energy, NuEvent::energyMC, energyMC, NuEvent::fluxErr, fluxErr, NuEvent::iaction, iaction, NuEvent::inu, inu, NuEvent::inunoosc, inunoosc, NuEvent::neuEnMC, neuEnMC, NuEvent::ppvz, ppvz, NuEvent::ptype, ptype, NuEvent::rw, rw, NuEvent::shwEn, shwEn, NuEvent::trkEn, trkEn, and NuEvent::usedRange.
Referenced by NuDSTAna::MakeFCTree(), and NuFCEvent().
00036 { 00037 detector = ev.detector; 00038 energy = ev.energy; 00039 trkEn = ev.trkEn; 00040 shwEn = ev.shwEn; 00041 rw = ev.rw; 00042 energyMC = ev.energyMC; 00043 neuEnMC = ev.neuEnMC; 00044 iaction = ev.iaction; 00045 inu = ev.inu; 00046 inunoosc = ev.inunoosc; 00047 charge = ev.charge; 00048 ppvz = ev.ppvz; 00049 ptype = ev.ptype; 00050 containedTrk = ev.usedRange; 00051 fluxErr = ev.fluxErr; 00052 }
| void NuFCEvent::Reset | ( | ) |
Set all members to -999.
Definition at line 77 of file NuFCEvent.cxx.
References acceptErr, charge, containedTrk, detector, energy, energyMC, fluxErr, iaction, inu, inunoosc, neuEnMC, ppvz, ptype, rw, shwEn, and trkEn.
Referenced by NuDSTAna::MakeFCTree(), and NuFCEvent().
00078 { 00079 detector = -999; 00080 energy = -999; 00081 trkEn = -999; 00082 shwEn = -999; 00083 rw = -999; 00084 energyMC = -999; 00085 neuEnMC = -999; 00086 iaction = -999; 00087 inu = -999; 00088 inunoosc = -999; 00089 charge = -999; 00090 ppvz = -999; 00091 ptype = -999; 00092 containedTrk = -999; 00093 fluxErr = 0; // Set to 0 so if default value is used, just no syst applied 00094 acceptErr = 0; // Set to 0 so if default used, no syst applied 00095 }
| Float_t NuFCEvent::acceptErr |
error due to acceptance systematic
Definition at line 57 of file NuFCEvent.h.
Referenced by NuFCExperimentFactory::GetAcceptShift(), and Reset().
| Int_t NuFCEvent::charge |
+1 or -1: simply derived from qp (from trk fit)
Definition at line 52 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::FillFromFCTree(), NuFCExperimentFactory::FillFromFCTree(), NuFCExperimentFactoryNSI::GetBGShift(), NuFCExperimentFactory::GetBGShift(), NuFCExperimentFactoryNSI::GetXSecShift(), NuFCExperimentFactory::GetXSecShift(), NuShiftableUnbinnedSpectrum::NuShiftableUnbinnedSpectrum(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Int_t NuFCEvent::containedTrk |
was the track containted
Definition at line 55 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::GetTrkEnergy(), NuFCExperimentFactory::GetTrkEnergy(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Int_t NuFCEvent::detector |
1=near 2=far
Definition at line 42 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::GetShowerEnergy(), NuFCExperimentFactory::GetShowerEnergy(), NuFCExperimentFactoryNSI::GetTrkEnergy(), NuFCExperimentFactory::GetTrkEnergy(), NuDSTAna::MakeFCTree(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Float_t NuFCEvent::energy |
reconstructed energy
Definition at line 43 of file NuFCEvent.h.
Referenced by Extract(), NuDSTAna::MakeFCTree(), NuShiftableUnbinnedSpectrum::NuShiftableUnbinnedSpectrum(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Float_t NuFCEvent::energyMC |
what could be truely reco'd: neuEn*y for NC
Definition at line 47 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), and Reset().
| Float_t NuFCEvent::fluxErr |
was the track containted
Definition at line 56 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::GetSKZPShift(), NuFCExperimentFactory::GetSKZPShift(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Int_t NuFCEvent::iaction |
CC=1, NC=0.
Definition at line 49 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::FillFromFCTree(), NuFCExperimentFactory::FillFromFCTree(), NuFCExperimentFactoryNSI::GetBGShift(), NuFCExperimentFactory::GetBGShift(), NuFCExperimentFactoryNSI::GetXSecShift(), NuFCExperimentFactory::GetXSecShift(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Int_t NuFCEvent::inu |
>0 particles, <0 anti-particles
Definition at line 50 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::FillFromFCTree(), NuFCExperimentFactory::FillFromFCTree(), NuFCExperimentFactoryNSI::GetBGShift(), NuFCExperimentFactory::GetBGShift(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Int_t NuFCEvent::inunoosc |
>0 particles, <0 anti-particles
Definition at line 51 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::FillFromFCTree(), NuFCExperimentFactory::FillFromFCTree(), and Reset().
| Float_t NuFCEvent::neuEnMC |
p4neu[3];
Definition at line 48 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::GetXSecShift(), NuFCExperimentFactory::GetXSecShift(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Float_t NuFCEvent::ppvz |
mc.flux.ppvz
Definition at line 53 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::IsDP(), NuFCExperimentFactory::IsDP(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Int_t NuFCEvent::ptype |
mc.flux.ptype
Definition at line 54 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::IsDP(), NuFCExperimentFactory::IsDP(), and Reset().
| Float_t NuFCEvent::rw |
the weight to use as default
Definition at line 46 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), and Reset().
| Float_t NuFCEvent::shwEn |
shower energy (e.g. primary shw energy)
Definition at line 45 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::GetShowerEnergy(), NuFCExperimentFactory::GetShowerEnergy(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
| Float_t NuFCEvent::trkEn |
track energy (range or curv. depending on containment)
Definition at line 44 of file NuFCEvent.h.
Referenced by Extract(), NuFCEvent2::FillFrom(), NuFCExperimentFactoryNSI::GetTrkEnergy(), NuFCExperimentFactory::GetTrkEnergy(), NuShiftableUnbinnedSpectrum::NuShiftableUnbinnedSpectrum(), Reset(), NuFCExperimentFactoryNSI::StoreEvent(), and NuFCExperimentFactory::StoreEvent().
1.4.7