#include <Normalize.h>
Public Member Functions | |
void | Initialize (const fhicl::ParameterSet &fcl) |
void | AddCosmicEvent (const event::Event &event) |
void | AddNeutrinoEvent (const event::Event &event) |
void | AddNeutrinoSubRun (const SubRun &subrun) |
void | AddCosmicFile (const FileMeta &meta) |
double | ScaleNeutrino (double goal_pot) const |
double | ScaleCosmic (double goal_pot) const |
Private Attributes | |
int | fLastCosmicFileID |
int | fLastCosmicEventID |
int | fLastNeutrinoFileID |
int | fLastNeutrinoEventID |
double | fPotPerReadout |
double | fNeutrinoPOT |
unsigned | fCosmicEventsPerFile |
unsigned | fNNeutrinoEvents |
unsigned | fNCosmicEvents |
Class to handle normalization of overlay and intime-cosmic samples.
Definition at line 15 of file Normalize.h.
void ana::SBNOsc::Normalize::AddCosmicEvent | ( | const event::Event & | event | ) |
Add a cosmic event to the normalization
event | The sbncode core event information |
Definition at line 23 of file Normalize.cc.
void ana::SBNOsc::Normalize::AddCosmicFile | ( | const FileMeta & | meta | ) |
Definition at line 19 of file Normalize.cc.
void ana::SBNOsc::Normalize::AddNeutrinoEvent | ( | const event::Event & | event | ) |
Add a neutrino event to the normalization
event | The sbncode core event information |
Definition at line 25 of file Normalize.cc.
void ana::SBNOsc::Normalize::AddNeutrinoSubRun | ( | const SubRun & | subrun | ) |
Add a neutrino subrunto the normalization
subrun | The sbncode core Subrun information |
Definition at line 29 of file Normalize.cc.
void ana::SBNOsc::Normalize::Initialize | ( | const fhicl::ParameterSet & | fcl | ) |
Initialize the class
fcl | The fhicl configuration |
Definition at line 5 of file Normalize.cc.
double ana::SBNOsc::Normalize::ScaleCosmic | ( | double | goal_pot | ) | const |
Scale the cosmic events to a certain POT. To be called after all events are processed
goal_pot | The POT to scale the sample to. |
Definition at line 34 of file Normalize.cc.
double ana::SBNOsc::Normalize::ScaleNeutrino | ( | double | goal_pot | ) | const |
Scale the neutrino events to a certain POT. To be called after all events are processed
goal_pot | The POT to scale the sample to. |
Definition at line 62 of file Normalize.cc.
|
private |
Definition at line 68 of file Normalize.h.
|
private |
Definition at line 61 of file Normalize.h.
|
private |
Definition at line 60 of file Normalize.h.
|
private |
Definition at line 64 of file Normalize.h.
|
private |
Definition at line 63 of file Normalize.h.
|
private |
Definition at line 70 of file Normalize.h.
|
private |
Definition at line 67 of file Normalize.h.
|
private |
Definition at line 69 of file Normalize.h.
|
private |
Definition at line 66 of file Normalize.h.