Public Member Functions | Public Attributes | List of all members
fnex::MetaData Struct Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/FNEX/dataProducts/Structs.h"

Public Member Functions

 MetaData ()
 
 MetaData (bool const &mc, novadaq::cnv::DetId const &det, fnex::FileType_t const &ft, fnex::SelectionType_t const &st, fnex::InteractionType_t const &it, std::string const &ep)
 
long const MCKey () const
 
long const DetectorKey () const
 
long const EpochKey () const
 
long const FileKey () const
 
long const SelectionKey () const
 
long const InteractionKey () const
 
long const Period () const
 
long const Key () const
 
std::string const EpochString () const
 
std::string const DetectorString () const
 
std::string const ToString () const
 
std::string const ToStringLatex () const
 
bool IsNuMuSelected () const
 
bool IsNuMuQuantiles () const
 
bool IsNuESelected () const
 
fnex::BeamType_t const BeamType () const
 
fnex::OscType_t const OscType () const
 
fnex::MetaDataLite const LiteMD () const
 
bool operator== (MetaData const &other) const
 
bool operator< (MetaData const &other) const
 

Public Attributes

bool isMC
 
novadaq::cnv::DetId detector
 
fnex::FileType_t fileType
 
fnex::SelectionType_t selectionType
 
fnex::InteractionType_t interactionType
 
int epoch
 

Detailed Description

Definition at line 38 of file Structs.h.

Constructor & Destructor Documentation

fnex::MetaData::MetaData ( )

Definition at line 69 of file Structs.cxx.

70  : isMC(false)
75  , epoch(0)
76  {}
novadaq::cnv::DetId detector
Definition: Structs.h:50
fnex::FileType_t fileType
Definition: Structs.h:51
fnex::SelectionType_t selectionType
Definition: Structs.h:52
fnex::InteractionType_t interactionType
Definition: Structs.h:53
fnex::MetaData::MetaData ( bool const &  mc,
novadaq::cnv::DetId const &  det,
fnex::FileType_t const &  ft,
fnex::SelectionType_t const &  st,
fnex::InteractionType_t const &  it,
std::string const &  ep 
)

Definition at line 79 of file Structs.cxx.

References epoch, and fnex::EpochStringToInt().

85  : isMC (mc)
86  , detector (det)
87  , fileType (ft)
88  , selectionType (st)
90  {
92  }
set< int >::iterator it
int EpochStringToInt(std::string const &epochStr)
Definition: Structs.h:82
novadaq::cnv::DetId detector
Definition: Structs.h:50
fnex::FileType_t fileType
Definition: Structs.h:51
fnex::SelectionType_t selectionType
Definition: Structs.h:52
fnex::InteractionType_t interactionType
Definition: Structs.h:53

Member Function Documentation

fnex::BeamType_t const fnex::MetaData::BeamType ( ) const

Definition at line 165 of file Structs.cxx.

References epoch, fnex::kFHC, fnex::kRHC, fnex::kUnknownBeam, and LOG_DEBUG.

Referenced by fnex::ShifterAndWeighter::BeamSystWeight(), fnex::CalibSyst::CalcCalibSystWeights(), fnex::GeniePCASyst::CalcGeniePCASystWeights(), fnex::EventListManipulator::Cosmics2018(), fnex::EventListManipulator::ExtractMetaDataFromFile(), fnex::EventListManipulator::FarDetCosmicBackgroundHistAndScale(), fnex::ShifterAndWeighter::FluxPCAWeight(), fnex::ShifterAndWeighter::HornCurrentWeight(), fnex::ShifterAndWeighter::HornNormWeight(), fnex::CovarianceBinUtility::MetaDataToKey(), fnex::ShifterAndWeighter::NueAcceptBkg2018Weight(), fnex::ShifterAndWeighter::NueAcceptSignalKin2018Weight(), fnex::DataVarVals::NuRecoEVal2018(), fnex::ShifterAndWeighter::PPFXSmoothCVWeight(), fnex::CalibSystHistMaker::ReadEventListTree(), fnex::CompareFNEXCAFEventListFiles::ReadFNEXTree_FillEventListMap(), ToString(), and ToStringLatex().

166  {
167 
168  // NOvA Period and Epoch naming scheme from:
169  // https://cdcvs.fnal.gov/redmine/projects/novaart/wiki/Period_and_Epoch_Naming
170  int k1 = epoch / 1000;
171 
172  if ( k1 == 1 ) return kFHC; // 1
173  else if( k1 == 2 ) return kFHC; // 2
174  else if( k1 == 3 ) return kFHC; // 3
175  else if( k1 == 4 ) return kRHC; // 4
176  else if( k1 == 5 ) return kFHC; // 5
177  else if( k1 == 6 ) return kRHC; // 6
178  else if( k1 == 7 ) return kRHC; // 7
179 
180  LOG_DEBUG("UnknownBeamType")
181  << "period : "
182  << k1
183  << " Cannot identify beam type";
184 
185  return kUnknownBeam;
186 
187  }
#define LOG_DEBUG(stream)
Definition: Messenger.h:149
long const fnex::MetaData::DetectorKey ( ) const
inline

Definition at line 57 of file Structs.h.

Referenced by fnex::CorrectedSpectrum::DrawStacks(), and Key().

57 { return detector * 1e9; }
novadaq::cnv::DetId detector
Definition: Structs.h:50
std::string const fnex::MetaData::DetectorString ( ) const
inline

Definition at line 93 of file Structs.h.

References fnex::MetaDataLite::detector, and novadaq::cnv::kNEARDET.

Referenced by fnex::CorrectedSpectrum::DrawStacks(), and fnex::EventListManipulator::UseEventsFromMetaData().

93 { if(detector == novadaq::cnv::kNEARDET) return "ND"; return "FD"; }
Near Detector in the NuMI cavern.
novadaq::cnv::DetId detector
Definition: Structs.h:50
long const fnex::MetaData::EpochKey ( ) const
inline

Definition at line 58 of file Structs.h.

Referenced by fnex::CorrectedSpectrum::DrawStacks().

58 { return epoch * 1e5; }
std::string const fnex::MetaData::EpochString ( ) const
long const fnex::MetaData::FileKey ( ) const
inline

Definition at line 59 of file Structs.h.

Referenced by Key().

59 { return (fileType + 1) * 1e4; }
fnex::FileType_t fileType
Definition: Structs.h:51
long const fnex::MetaData::InteractionKey ( ) const
inline

Definition at line 61 of file Structs.h.

Referenced by Key().

61 { return interactionType; }
fnex::InteractionType_t interactionType
Definition: Structs.h:53
bool fnex::MetaData::IsNuESelected ( ) const
bool fnex::MetaData::IsNuMuQuantiles ( ) const

Definition at line 247 of file Structs.cxx.

References fnex::kNuMuSelectionQ1, fnex::kNuMuSelectionQ4, and selectionType.

Referenced by IsNuMuSelected(), and fnex::CorrectedSpectrum::SpectrumBinning().

248  {
250  this->selectionType <= fnex::kNuMuSelectionQ4) return true;
251 
252  return false;
253  }
fnex::SelectionType_t selectionType
Definition: Structs.h:52
bool fnex::MetaData::IsNuMuSelected ( ) const

Definition at line 256 of file Structs.cxx.

References IsNuMuQuantiles(), fnex::kNuMuSelection, and selectionType.

Referenced by fnex::ShifterAndWeighter::AbsNormWeight(), fnex::EventListManipulator::AddFakeDataToEventList(), fnex::SortEventLists::beginJob(), fnex::CovarianceBinUtility::BinToEnergy(), fnex::CalibSyst::CalcCalibSystWeights(), fnex::GeniePCASyst::CalcGeniePCASystWeights(), fnex::EventListMaker::CheckNueFDPID(), fnex::EventListManipulator::Cosmics2017(), fnex::CorrectedSpectrum::DrawStacks(), fnex::CovarianceBinUtility::EnergyToBin(), fnex::ShifterAndWeighter::ExtrapolationWeight(), fnex::EventListManipulator::FarDetCosmicBackgroundHistAndScale(), fnex::CorrSpec_NoExtrapNuMu::GenerateSpectrumList(), fnex::CorrSpec_SimpleExtrap::GenerateSpectrumList(), fnex::CorrSpec_SimpleNuMuExtrap::GenerateSpectrumList(), fnex::CorrectedSpectrum::GetStacksCanvasCopy(), fnex::ShifterAndWeighter::NormBothWeight(), fnex::DataVarVals::NuRecoEVal(), fnex::DataVarVals::NuRecoEVal2017(), fnex::DataVarVals::NuRecoEVal2018(), fnex::CompareFNEXCAFEventListFiles::ReadFNEXTree_FillEventListMap(), fnex::ShifterAndWeighter::RelNormWeight(), fnex::CorrSpec_SimpleExtrap::UpdateCorrectedHistograms(), fnex::CorrSpec_PropDecomp::UpdateCorrectedHistograms(), fnex::CorrSpec_SimpleNuMuExtrap::UpdateCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuE::UpdateCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuMu::UpdateCorrectedHistograms(), fnex::CorrSpec_MichelDecomp::UpdateCorrectedHistograms(), and fnex::CorrSpec_BENDecomp::UpdateCorrectedHistograms().

257  {
258  if(this->selectionType == fnex::kNuMuSelection ||
259  this->IsNuMuQuantiles() ) return true;
260 
261  return false;
262  }
bool IsNuMuQuantiles() const
Definition: Structs.cxx:247
fnex::SelectionType_t selectionType
Definition: Structs.h:52
long const fnex::MetaData::Key ( ) const

Definition at line 234 of file Structs.cxx.

References DetectorKey(), FileKey(), InteractionKey(), MCKey(), Period(), and SelectionKey().

Referenced by fnex::EventListManipulator::EpochEventCap(), fnex::EventListManipulator::FillEventList(), and IsNuESelected().

235  {
236  return ( this->MCKey() *
237  (this->DetectorKey() +
238  this->FileKey() +
239  this->SelectionKey() +
240  this->InteractionKey() +
241  this->Period() * 1e5
242  )
243  );
244  }
long const InteractionKey() const
Definition: Structs.h:61
long const Period() const
Definition: Structs.h:62
long const DetectorKey() const
Definition: Structs.h:57
long const FileKey() const
Definition: Structs.h:59
long const MCKey() const
Definition: Structs.h:56
long const SelectionKey() const
Definition: Structs.h:60
fnex::MetaDataLite const fnex::MetaData::LiteMD ( ) const

Definition at line 95 of file Structs.cxx.

References detector, EpochString(), and selectionType.

96  {
97  return MetaDataLite(this->detector, this->selectionType, this->EpochString());
98  }
std::string const EpochString() const
Definition: Structs.cxx:101
novadaq::cnv::DetId detector
Definition: Structs.h:50
fnex::SelectionType_t selectionType
Definition: Structs.h:52
long const fnex::MetaData::MCKey ( ) const
inline

Definition at line 56 of file Structs.h.

References findDuplicateFiles::key.

Referenced by fnex::CorrectedSpectrum::DrawStacks(), and Key().

56 { long key = (isMC) ? 1 : -1; return key; }
bool fnex::MetaData::operator< ( MetaData const &  other) const

Referenced by IsNuESelected().

bool fnex::MetaData::operator== ( MetaData const &  other) const

Referenced by IsNuESelected().

fnex::OscType_t const fnex::MetaData::OscType ( ) const

Definition at line 190 of file Structs.cxx.

References fnex::cInteractionType_Strings, fileType, interactionType, fnex::kBadOscType, fnex::kBeam, fnex::kCosmicBackgroundFile, fnex::kCosmicEvent, fnex::kDataEvent, fnex::kDataFile, fnex::kFileTypeStrings, fnex::kMCee, fnex::kMCeebar, fnex::kMCem, fnex::kMCembar, fnex::kMCme, fnex::kMCmebar, fnex::kMCmm, fnex::kMCmmbar, fnex::kMCmt, fnex::kMCmtbar, fnex::kMCNC, fnex::kMCtm, fnex::kMCtmbar, fnex::kNC, fnex::kNuEBarCC, fnex::kNuECC, fnex::kNuMuBarCC, fnex::kNuMuCC, fnex::kNuTauBarCC, fnex::kNuTauCC, fnex::kSwap, fnex::kTauSwap, and LOG_WARNING.

Referenced by fnex::CorrectedSpectrum::DrawCounts(), fnex::CorrectedSpectrum::DrawStacks(), and fnex::CorrectedSpectrum::GetStacksCanvasCopy().

191  {
192 
193  if(fileType == kBeam){
194  if (interactionType == kNuMuCC ) return kMCmm;
195  else if(interactionType == kNuMuBarCC) return kMCmmbar;
196  else if(interactionType == kNuECC ) return kMCee;
197  else if(interactionType == kNuEBarCC ) return kMCeebar;
198  else if(interactionType == kNC ) return kMCNC;
199  }
200  else if(fileType == kSwap){
201  if (interactionType == kNuMuCC ) return kMCem;
202  else if(interactionType == kNuMuBarCC) return kMCembar;
203  else if(interactionType == kNuECC ) return kMCme;
204  else if(interactionType == kNuEBarCC ) return kMCmebar;
205  else if(interactionType == kNC ) return kMCNC;
206  }
207  else if(fileType == kTauSwap){
208  if (interactionType == kNuMuCC ) return kMCtm;
209  else if(interactionType == kNuMuBarCC ) return kMCtmbar;
210  else if(interactionType == kNuECC ) return kMCee;
211  else if(interactionType == kNuEBarCC ) return kMCeebar;
212  else if(interactionType == kNuTauCC ) return kMCmt;
213  else if(interactionType == kNuTauBarCC) return kMCmtbar;
214  else if(interactionType == kNC ) return kMCNC;
215  }
216  else if(fileType == kDataFile){
217  return kDataEvent;
218  }
219  else if(fileType == kCosmicBackgroundFile){
220  return kCosmicEvent;
221  }
222 
223  LOG_WARNING("BadOscType")
224  << "file type: "
226  << " Cannot identify interaction type: "
228 
229  return kBadOscType;
230 
231  }
const std::string kFileTypeStrings[8]
Definition: Constants.h:386
fnex::FileType_t fileType
Definition: Structs.h:51
#define LOG_WARNING(category)
const std::string cInteractionType_Strings[9]
Definition: Constants.h:150
fnex::InteractionType_t interactionType
Definition: Structs.h:53
long const fnex::MetaData::Period ( ) const
inline
long const fnex::MetaData::SelectionKey ( ) const
inline

Definition at line 60 of file Structs.h.

References make_cached_def::e2.

Referenced by Key().

60 { return (selectionType + 1) * 1e2; }
fnex::SelectionType_t selectionType
Definition: Structs.h:52
std::string const fnex::MetaData::ToString ( ) const

Definition at line 114 of file Structs.cxx.

References BeamType(), fnex::cBeamType_Strings, fnex::cInteractionType_Strings, fnex::cSelectionType_Strings, detector, EpochString(), fileType, interactionType, isMC, novadaq::cnv::kFARDET, fnex::kFileTypeStrings, novadaq::cnv::kNEARDET, selectionType, and string.

Referenced by fnex::EventListManipulator::AddFakeDataToEventList(), fnex::EventListMaker::analyze(), fnex::SortEventLists::beginJob(), fnex::CovarianceBinUtility::BinToEnergy(), fnex::EventListManipulator::CheckMCListsForFakeDataEpochs(), fnex::EventListManipulator::Cosmics2017(), fnex::EventListManipulator::Cosmics2018(), fnex::EventListManipulator::CreateFarDetCosmicBackgroundsFromEventList(), fnex::EventListManipulator::CreateFarDetCosmicBackgroundsFromHist(), fnex::EventListManipulator::CreateNDPeripheralLists(), fnex::EventListManipulator::CreatePoissonFakeData(), fnex::CorrectedSpectrum::DrawStacks(), fnex::CAFToEventList::endJob(), fnex::EventListManipulator::FarDetCosmicBackgroundHistAndScale(), fnex::EventListManipulator::FillEventList(), fnex::EventListManipulator::FillHistograms(), fnex::EventListManipulator::FixNearDetMCExposures(), fnex::CorrSpec_NoExtrapNuE::GenerateSpectrumList(), fnex::CorrSpec_NoExtrapNuMu::GenerateSpectrumList(), fnex::CorrSpec_PropDecomp::GenerateSpectrumList(), fnex::CorrSpec_SimpleExtrap::GenerateSpectrumList(), fnex::CorrSpec_SimpleNuMuExtrap::GenerateSpectrumList(), fnex::CorrSpec_MichelDecomp::GenerateSpectrumList(), fnex::CorrSpec_BENDecomp::GenerateSpectrumList(), fnex::EventListMaker::InitializeEventListMaps(), fnex::CorrSpec_MichelDecomp::MakeCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuE::MakeCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuMu::MakeCorrectedHistograms(), fnex::CorrSpec_PropDecomp::MakeCorrectedHistograms(), fnex::CorrSpec_SimpleExtrap::MakeCorrectedHistograms(), fnex::CorrSpec_SimpleNuMuExtrap::MakeCorrectedHistograms(), fnex::CorrSpec_BENDecomp::MakeCorrectedHistograms(), fnex::CorrSpec_SimpleExtrap::MakeUncorrectedHistograms(), fnex::CorrSpec_NoExtrapNuE::MakeUncorrectedHistograms(), fnex::CorrSpec_NoExtrapNuMu::MakeUncorrectedHistograms(), fnex::CorrSpec_SimpleNuMuExtrap::MakeUncorrectedHistograms(), fnex::CorrSpec_PropDecomp::MakeUncorrectedHistograms(), fnex::CorrSpec_MichelDecomp::MakeUncorrectedHistograms(), fnex::CorrSpec_BENDecomp::MakeUncorrectedHistograms(), fnex::ReadCAFMakeEventList::ReadCAFTree(), fnex::CalibSystHistMaker::ReadEventListTree(), fnex::CompareFNEXCAFEventListFiles::ReadFNEXTree_FillEventListMap(), fnex::EventListManipulator::reconfigure(), fnex::EventListMaker::Serialize(), fnex::ReadCAFMakeEventList::Serialize(), fnex::SerializeEventListMap(), fnex::ShifterAndWeighter::SetCurrentEvent(), fnex::CorrSpec_NoExtrapNuE::SetPlotStyles(), fnex::CorrSpec_PropDecomp::SetPlotStyles(), fnex::CorrSpec_SimpleNuMuExtrap::SetPlotStyles(), fnex::CorrSpec_SimpleExtrap::SetPlotStyles(), fnex::CorrSpec_NoExtrapNuMu::SetPlotStyles(), fnex::CorrSpec_MichelDecomp::SetPlotStyles(), fnex::CorrSpec_BENDecomp::SetPlotStyles(), fnex::Spectrum::Spectrum(), fnex::CorrectedSpectrum::SpectrumBinning(), fnex::CorrSpec_PropDecomp::UpdateCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuE::UpdateCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuMu::UpdateCorrectedHistograms(), fnex::CorrSpec_MichelDecomp::UpdateCorrectedHistograms(), fnex::CorrSpec_SimpleNuMuExtrap::UpdateCorrectedHistograms(), fnex::CorrSpec_SimpleExtrap::UpdateCorrectedHistograms(), fnex::CorrSpec_BENDecomp::UpdateCorrectedHistograms(), fnex::EventListManipulator::UseEventsFromMetaData(), and fnex::EventListManipulator::WriteCappedListsAsTrees().

115  {
116  std::string outType("");
117 
118  if (detector == novadaq::cnv::kFARDET) outType += "Far";
119  else if(detector == novadaq::cnv::kNEARDET) outType += "Near";
120  else outType += "UknownDet";
121  outType += "Epoch" + this->EpochString();
122 
123  ///// ---> Adding Beam Type for FHC/RHC
124  outType += fnex::cBeamType_Strings[this->BeamType()];
125 
126  if(this->isMC){
127  outType.insert(0, "MC");
128  outType += fnex::kFileTypeStrings[fileType];
129  }
130  else
131  outType.insert(0, "Data");
132 
134 
135  // this is not grouped with the other MC test to have the interaction type
136  // be the last thing in the string
137  if(this->isMC)
139 
140  return outType;
141  }
std::string const EpochString() const
Definition: Structs.cxx:101
Far Detector at Ash River, MN.
const std::string kFileTypeStrings[8]
Definition: Constants.h:386
Near Detector in the NuMI cavern.
novadaq::cnv::DetId detector
Definition: Structs.h:50
fnex::FileType_t fileType
Definition: Structs.h:51
const std::string cBeamType_Strings[4]
Definition: Constants.h:76
fnex::SelectionType_t selectionType
Definition: Structs.h:52
const std::string cInteractionType_Strings[9]
Definition: Constants.h:150
fnex::InteractionType_t interactionType
Definition: Structs.h:53
fnex::BeamType_t const BeamType() const
Definition: Structs.cxx:165
const std::string cSelectionType_Strings[11]
Definition: Constants.h:101
enum BeamMode string
std::string const fnex::MetaData::ToStringLatex ( ) const

Definition at line 144 of file Structs.cxx.

References BeamType(), fnex::cBeamType_LatexStrings, fnex::cInteractionType_LatexStrings, fnex::cSelectionType_LatexStrings, detector, EpochString(), fileType, interactionType, isMC, novadaq::cnv::kFARDET, fnex::kFileTypeStrings_Latex, novadaq::cnv::kNEARDET, selectionType, and string.

Referenced by fnex::CorrSpec_MichelDecomp::MakeCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuMu::MakeCorrectedHistograms(), fnex::CorrSpec_PropDecomp::MakeCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuE::MakeCorrectedHistograms(), fnex::CorrSpec_SimpleExtrap::MakeCorrectedHistograms(), fnex::CorrSpec_SimpleNuMuExtrap::MakeCorrectedHistograms(), fnex::CorrSpec_BENDecomp::MakeCorrectedHistograms(), fnex::CorrSpec_PropDecomp::MakeUncorrectedHistograms(), fnex::CorrSpec_SimpleExtrap::MakeUncorrectedHistograms(), fnex::CorrSpec_MichelDecomp::MakeUncorrectedHistograms(), fnex::CorrSpec_NoExtrapNuMu::MakeUncorrectedHistograms(), fnex::CorrSpec_SimpleNuMuExtrap::MakeUncorrectedHistograms(), fnex::CorrSpec_NoExtrapNuE::MakeUncorrectedHistograms(), and fnex::CorrSpec_BENDecomp::MakeUncorrectedHistograms().

145  {
146  std::string outType("Data");
147  if(this->isMC){
148  outType = "MC";
149  outType += " " + fnex::kFileTypeStrings_Latex[fileType];
152  }
153  if(detector == novadaq::cnv::kFARDET) outType += " FD";
154  if(detector == novadaq::cnv::kNEARDET) outType += " ND";
155 
156  outType += " Epoch " + this->EpochString();
157 
158  outType += " " + fnex::cBeamType_LatexStrings[this->BeamType()];
159 
160  return outType;
161  }
const std::string kFileTypeStrings_Latex[8]
Definition: Constants.h:395
std::string const EpochString() const
Definition: Structs.cxx:101
Far Detector at Ash River, MN.
Near Detector in the NuMI cavern.
const std::string cBeamType_LatexStrings[4]
Definition: Constants.h:81
novadaq::cnv::DetId detector
Definition: Structs.h:50
fnex::FileType_t fileType
Definition: Structs.h:51
fnex::SelectionType_t selectionType
Definition: Structs.h:52
const std::string cInteractionType_LatexStrings[9]
Definition: Constants.h:140
fnex::InteractionType_t interactionType
Definition: Structs.h:53
fnex::BeamType_t const BeamType() const
Definition: Structs.cxx:165
const std::string cSelectionType_LatexStrings[11]
Definition: Constants.h:113
enum BeamMode string

Member Data Documentation

novadaq::cnv::DetId fnex::MetaData::detector

Definition at line 50 of file Structs.h.

Referenced by fnex::ShifterAndWeighter::AbsNormWeight(), fnex::EventListMaker::analyze(), fnex::ShifterAndWeighter::BeamSystWeight(), fnex::ShifterAndWeighter::BirksNormWeight(), fnex::GeniePCASyst::CalcGeniePCASystWeights(), fnex::ShifterAndWeighter::CalibNormWeight(), fnex::ShifterAndWeighter::CalibSystWeight(), fnex::EventListMaker::CheckNueFDPID(), fnex::ShifterAndWeighter::COHCCScale2018Weight(), fnex::ShifterAndWeighter::COHNCScale2018Weight(), fnex::EventListManipulator::ConcatenateLists(), fnex::ShifterAndWeighter::CosmicMuNormWeight(), fnex::ShifterAndWeighter::CosmicOverlayNormWeight(), fnex::EventListManipulator::CreateNDPeripheralLists(), fnex::ShifterAndWeighter::DISvnCC1piWeight(), fnex::CorrectedSpectrum::DrawCounts(), fnex::CorrectedSpectrum::DrawStacks(), fnex::EventListMaker::endJob(), fnex::EventListManipulator::ExtractMetaDataFromFile(), fnex::ShifterAndWeighter::ExtrapolationWeight(), fnex::EventListManipulator::FillEventList(), fnex::EventListManipulator::FixNearDetMCExposures(), fnex::ShifterAndWeighter::FluxPCAWeight(), fnex::CorrSpec_MichelDecomp::GenerateSpectrumList(), fnex::CorrSpec_NoExtrapNuE::GenerateSpectrumList(), fnex::CorrSpec_NoExtrapNuMu::GenerateSpectrumList(), fnex::CorrSpec_PropDecomp::GenerateSpectrumList(), fnex::CorrSpec_SimpleExtrap::GenerateSpectrumList(), fnex::CorrSpec_SimpleNuMuExtrap::GenerateSpectrumList(), fnex::CorrSpec_BENDecomp::GenerateSpectrumList(), fnex::ShifterAndWeighter::GeniePCASystWeight(), fnex::ShifterAndWeighter::GENIESystWeight(), MetadataUtils.metaDataMgr::getOutputFileName(), fnex::CorrectedSpectrum::GetStacksCanvasCopy(), fnex::ShifterAndWeighter::HornCurrentWeight(), fnex::ShifterAndWeighter::HornNormWeight(), fnex::EventListMaker::InitializeEventListMaps(), IsNuESelected(), LiteMD(), fnex::ShifterAndWeighter::MaCCQEReducedWeight(), fnex::ShifterAndWeighter::MECEnuShapeWeight(), fnex::ShifterAndWeighter::MECInitStateNPFracWeight(), fnex::ShifterAndWeighter::MECNormWeight(), fnex::ShifterAndWeighter::MECShapeWeight(), fnex::CovarianceBinUtility::MetaDataToKey(), fnex::ShifterAndWeighter::NCNormWeight(), fnex::ShifterAndWeighter::NoiseFarNormWeight(), fnex::ShifterAndWeighter::NormBothWeight(), fnex::ShifterAndWeighter::NueAcceptBkg2018Weight(), fnex::ShifterAndWeighter::NueAcceptSignalKin2018Weight(), fnex::ShifterAndWeighter::NueExtrapBkg2017Weight(), fnex::ShifterAndWeighter::NueExtrapSig2017Weight(), fnex::ShifterAndWeighter::NueHistSystWeight(), fnex::MetaDataHasher::operator()(), fnex::ShifterAndWeighter::PPFXSmoothCVWeight(), fnex::ShifterAndWeighter::RadCorrNueBarWeight(), fnex::ShifterAndWeighter::RadCorrNueWeight(), fnex::CalibSystHistMaker::ReadEventListTree(), fnex::CompareFNEXCAFEventListFiles::ReadFNEXTree_FillEventListMap(), fnex::ShifterAndWeighter::RelNormWeight(), fnex::ShifterAndWeighter::RockNormOnFidWeight(), fnex::ShifterAndWeighter::RPACCQEshapeEnhWeight(), fnex::ShifterAndWeighter::RPACCQEshapeSuppWeight(), fnex::ShifterAndWeighter::RPACCQEWeight(), fnex::ShifterAndWeighter::RPARESWeight(), fnex::ShifterAndWeighter::SecondClassCurrWeight(), fnex::ShifterAndWeighter::SetCurrentEvent(), fnex::ShifterAndWeighter::ShiftAmount(), fnex::ShifterAndWeighter::SumSmallXSecNue2017Weight(), fnex::ShifterAndWeighter::SumSmallXSecNumu2017Weight(), fnex::ShifterAndWeighter::TauScaleSystWeight(), ToString(), ToStringLatex(), fnex::ShifterAndWeighter::TotalShift(), fnex::ShifterAndWeighter::TotalWeightFromWeighters(), fnex::CorrSpec_NoExtrapNuMu::UpdateCorrectedHistograms(), fnex::CorrSpec_SimpleExtrap::UpdateCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuE::UpdateCorrectedHistograms(), fnex::CorrSpec_SimpleNuMuExtrap::UpdateCorrectedHistograms(), fnex::CorrSpec_MichelDecomp::UpdateCorrectedHistograms(), fnex::CorrSpec_PropDecomp::UpdateCorrectedHistograms(), fnex::CorrSpec_BENDecomp::UpdateCorrectedHistograms(), fnex::EventListManipulator::UseEventsFromMetaData(), and fnex::ShifterAndWeighter::Weight().

int fnex::MetaData::epoch
fnex::FileType_t fnex::MetaData::fileType
fnex::InteractionType_t fnex::MetaData::interactionType
bool fnex::MetaData::isMC

Definition at line 49 of file Structs.h.

Referenced by fnex::EventListMaker::analyze(), fnex::ShifterAndWeighter::CalcNueSystWeights(), fnex::EventListManipulator::ConcatenateLists(), fnex::EventListManipulator::CreateNDPeripheralLists(), fnex::CorrectedSpectrum::DrawCounts(), fnex::CorrectedSpectrum::DrawStacks(), fnex::EventListMaker::endJob(), fnex::CAFToEventList::endJob(), fnex::EventListManipulator::ExtractMetaDataFromFile(), fnex::EventListManipulator::FillEventList(), fnex::EventListManipulator::FillHistograms(), fnex::EventListManipulator::FixNearDetMCExposures(), fnex::CorrectedSpectrum::GetStacksCanvasCopy(), fnex::EventListMaker::InitializeEventListMaps(), IsNuESelected(), fnex::DataVarVals::NuRecoEVal(), fnex::DataVarVals::NuRecoEVal2017(), fnex::DataVarVals::NuRecoEVal2018(), fnex::MetaDataHasher::operator()(), fnex::operator<<(), fnex::CalibSystHistMaker::ReadEventListTree(), fnex::ReadCAFMakeEventList::Serialize(), fnex::SerializeEvents(), fnex::ShifterAndWeighter::SetCurrentEvent(), fnex::CorrSpec_SimpleExtrap::SetPlotStyles(), fnex::CorrSpec_PropDecomp::SetPlotStyles(), fnex::CorrSpec_MichelDecomp::SetPlotStyles(), fnex::CorrSpec_NoExtrapNuE::SetPlotStyles(), fnex::CorrSpec_NoExtrapNuMu::SetPlotStyles(), fnex::CorrSpec_SimpleNuMuExtrap::SetPlotStyles(), fnex::CorrSpec_BENDecomp::SetPlotStyles(), ToString(), ToStringLatex(), fnex::CorrSpec_NoExtrapNuMu::UpdateCorrectedHistograms(), fnex::CorrSpec_SimpleExtrap::UpdateCorrectedHistograms(), fnex::CorrSpec_SimpleNuMuExtrap::UpdateCorrectedHistograms(), fnex::CorrSpec_NoExtrapNuE::UpdateCorrectedHistograms(), fnex::CorrSpec_MichelDecomp::UpdateCorrectedHistograms(), fnex::CorrSpec_PropDecomp::UpdateCorrectedHistograms(), fnex::CorrSpec_BENDecomp::UpdateCorrectedHistograms(), fnex::EventListManipulator::UseEventsFromMetaData(), and fnex::ShifterAndWeighter::Weight().

fnex::SelectionType_t fnex::MetaData::selectionType

Definition at line 52 of file Structs.h.

Referenced by fnex::EventListMaker::analyze(), fnex::CovarianceBinUtility::BinToEnergy(), fnex::CalibSyst::CalcCalibSystWeights(), fnex::GeniePCASyst::CalcGeniePCASystWeights(), fnex::ShifterAndWeighter::CalcNueSystWeights(), fnex::EventListMaker::CheckNueFDPID(), fnex::EventListManipulator::ConcatenateLists(), fnex::EventListManipulator::Cosmics2017(), fnex::EventListManipulator::Cosmics2018(), fnex::EventListManipulator::CreateFarDetCosmicBackgroundsFromEventList(), fnex::EventListManipulator::CreateFarDetCosmicBackgroundsFromHist(), fnex::EventListManipulator::CreateNDPeripheralLists(), fnex::EventListMaker::endJob(), fnex::CovarianceBinUtility::EnergyToBin(), fnex::EventListManipulator::ExtractMetaDataFromFile(), fnex::EventListManipulator::FarDetCosmicBackgroundHistAndScale(), fnex::NuMuAnalysisSetup::FillRecoVars(), fnex::CorrSpec_MichelDecomp::GenerateSpectrumList(), fnex::EventListMaker::InitializeEventListMaps(), IsNuESelected(), IsNuMuQuantiles(), IsNuMuSelected(), LiteMD(), fnex::CovarianceBinUtility::MetaDataToKey(), fnex::ShifterAndWeighter::NueAcceptBkg2018Weight(), fnex::ShifterAndWeighter::NueAcceptSignalKin2018Weight(), fnex::ShifterAndWeighter::NueExtrapBkg2017Weight(), fnex::ShifterAndWeighter::NueHistSystWeight(), fnex::DataVarVals::NuRecoEVal(), fnex::DataVarVals::NuRecoEVal2017(), fnex::DataVarVals::NuRecoEVal2018(), fnex::MetaDataHasher::operator()(), fnex::operator<<(), fnex::CalibSystHistMaker::ReadEventListTree(), fnex::CompareFNEXCAFEventListFiles::ReadFNEXTree_FillEventListMap(), fnex::CorrectedSpectrum::SpectrumBinning(), ToString(), ToStringLatex(), and fnex::EventListManipulator::UseEventsFromMetaData().


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