OscFit::Event Class Reference

#include <Event.h>

List of all members.

Public Member Functions

 Event ()
virtual ~Event ()
void Reset ()
void Set (Event *event)

Public Attributes

Int_t Ctr
Int_t Run
Int_t Trigger
Int_t Inu
Int_t Iact
Double_t Weight
Double_t Numu2Nue
Double_t TrueEmu
Double_t TrueEshw
Double_t TrueEnu
Double_t TrueCosZen
Double_t TrueHeight
Double_t TrueHeightNumu2Nue
Int_t RecoPass
Double_t RecoEmu
Double_t RecoEshw
Double_t RecoEnu
Double_t RecoCosZen
Double_t RecoLength
Double_t RecoEnergy
Bool_t RecoExiting
Experiment_t Experiment
Source_t Source
Sample_t Sample
Run_t RunPeriod
OscType_t OscType
Flavour_t TrueFlavour
Charge_t TrueCharge
Containment_t Containment
Flavour_t RecoFlavour
Charge_t RecoCharge
Resolution_t Resolution
Topology_t Topology
ProtonTag_t ProtonTag
ElectronTag_t ElectronTag
Systematic_t Systematic
Shift_t Shift
Bool_t ShiftedEnergy

Detailed Description

Definition at line 8 of file GhostFitter/HEAD/Event.h.


Constructor & Destructor Documentation

Event::Event (  ) 

Definition at line 7 of file GhostFitter/HEAD/Event.cxx.

References Reset().

00008 {
00009   this->Reset();
00010 }

Event::~Event (  )  [virtual]

Definition at line 12 of file GhostFitter/HEAD/Event.cxx.

00013 {
00014 
00015 }


Member Function Documentation

void Event::Reset (  ) 

Definition at line 17 of file GhostFitter/HEAD/Event.cxx.

References Containment, Ctr, ElectronTag, Experiment, Iact, Inu, OscFit::kCentre, OscFit::kIgnoreElectron, OscFit::kIgnoreProton, OscFit::kLoRes, OscFit::kNoCharge, OscFit::kNoFlavour, OscFit::kNoShift, OscFit::kNull, OscFit::kUnknown, OscFit::kUnknownData, OscFit::kUnknownExperiment, OscFit::kUnknownOsc, OscFit::kUnknownRun, OscFit::kVanilla, Numu2Nue, OscType, ProtonTag, RecoCharge, RecoCosZen, RecoEmu, RecoEnergy, RecoEnu, RecoEshw, RecoExiting, RecoFlavour, RecoLength, RecoPass, Resolution, Run, RunPeriod, Sample, Shift, ShiftedEnergy, Source, Systematic, Topology, Trigger, TrueCharge, TrueCosZen, TrueEmu, TrueEnu, TrueEshw, TrueFlavour, TrueHeight, TrueHeightNumu2Nue, and Weight.

Referenced by OscFit::AtmosData::BuildEvent(), OscFit::ArgonData::BuildEvent(), Event(), and Set().

00018 {
00019   Ctr          = -1;
00020 
00021   Run          = 0;
00022   Trigger      = 0; 
00023 
00024   Inu          = 0;
00025   Iact         = 0;
00026   Weight       = 0.0;
00027   Numu2Nue     = 0.0;
00028 
00029   TrueEmu      = 0.0;
00030   TrueEshw     = 0.0;
00031   TrueEnu      = 0.0;
00032   TrueCosZen   = 0.0;
00033   TrueHeight   = 0.0;
00034   TrueHeightNumu2Nue = 0.0;
00035 
00036   RecoPass     = 0;
00037   RecoEmu      = 0.0;
00038   RecoEshw     = 0.0;
00039   RecoEnu      = 0.0;
00040   RecoCosZen   = 0.0;
00041   RecoLength   = 0.0;
00042   RecoEnergy   = 0.0;
00043   RecoExiting  = 0;
00044 
00045   Experiment   = kUnknownExperiment;
00046   Source       = kUnknownData;
00047   Sample       = kUnknown;
00048   RunPeriod    = kUnknownRun;
00049 
00050   TrueFlavour  = kNoFlavour;
00051   TrueCharge   = kNoCharge;
00052 
00053   OscType      = kUnknownOsc;
00054 
00055   Containment  = kNull;
00056   RecoFlavour  = kNoFlavour;
00057   RecoCharge   = kNoCharge;
00058   Resolution   = kLoRes;
00059   Topology     = kVanilla;
00060   ProtonTag    = kIgnoreProton;
00061   ElectronTag  = kIgnoreElectron;
00062 
00063   Systematic   = kCentre;
00064   Shift        = kNoShift;
00065 
00066   ShiftedEnergy = 0;
00067 
00068   return;
00069 }

void Event::Set ( Event event  ) 

Definition at line 71 of file GhostFitter/HEAD/Event.cxx.

References Containment, Ctr, ElectronTag, Experiment, Iact, Inu, Numu2Nue, OscType, ProtonTag, RecoCharge, RecoCosZen, RecoEmu, RecoEnergy, RecoEnu, RecoEshw, RecoExiting, RecoFlavour, RecoLength, RecoPass, Reset(), Resolution, Run, RunPeriod, Sample, Shift, ShiftedEnergy, Source, Systematic, Topology, Trigger, TrueCharge, TrueCosZen, TrueEmu, TrueEnu, TrueEshw, TrueFlavour, TrueHeight, TrueHeightNumu2Nue, and Weight.

Referenced by OscFit::EventCalculator::ReweightAtmosData(), and OscFit::EventCalculator::ReweightBeamData().

00072 {
00073   Reset();
00074 
00075   assert( myEvent );
00076 
00077   Ctr          = myEvent->Ctr;
00078 
00079   Run          = myEvent->Run;
00080   Trigger      = myEvent->Trigger;
00081 
00082   Inu          = myEvent->Inu;
00083   Iact         = myEvent->Iact;
00084   Weight       = myEvent->Weight;
00085   Numu2Nue     = myEvent->Numu2Nue;
00086 
00087   TrueEmu      = myEvent->TrueEmu;
00088   TrueEshw     = myEvent->TrueEshw;
00089   TrueEnu      = myEvent->TrueEnu;
00090   TrueCosZen   = myEvent->TrueCosZen;
00091   TrueHeight   = myEvent->TrueHeight;
00092   TrueHeightNumu2Nue = myEvent->TrueHeightNumu2Nue;
00093 
00094   RecoPass     = myEvent->RecoPass;
00095   RecoEmu      = myEvent->RecoEmu;
00096   RecoEshw     = myEvent->RecoEshw;
00097   RecoEnu      = myEvent->RecoEnu;
00098   RecoCosZen   = myEvent->RecoCosZen;
00099   RecoLength   = myEvent->RecoLength;
00100   RecoEnergy   = myEvent->RecoEnergy;
00101   RecoExiting  = myEvent->RecoExiting;
00102 
00103   Experiment   = myEvent->Experiment;
00104   Source       = myEvent->Source;
00105   Sample       = myEvent->Sample;
00106   RunPeriod    = myEvent->RunPeriod;
00107 
00108   OscType      = myEvent->OscType;
00109 
00110   TrueFlavour  = myEvent->TrueFlavour;
00111   TrueCharge   = myEvent->TrueCharge;
00112 
00113   Containment  = myEvent->Containment;
00114   RecoFlavour  = myEvent->RecoFlavour;
00115   RecoCharge   = myEvent->RecoCharge;
00116   Resolution   = myEvent->Resolution;
00117   Topology     = myEvent->Topology;
00118   ProtonTag    = myEvent->ProtonTag;
00119   ElectronTag  = myEvent->ElectronTag;
00120 
00121   Systematic   = myEvent->Systematic;
00122   Shift        = myEvent->Shift;
00123 
00124   ShiftedEnergy = myEvent->ShiftedEnergy;
00125 
00126   return;
00127 }


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on 15 Jul 2018 for loon by  doxygen 1.6.1