Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
fnex::CalibSystHistMaker Class Reference
Inheritance diagram for fnex::CalibSystHistMaker:
art::EDAnalyzer art::EventObserverBase art::Consumer art::EngineCreator

Public Types

using WorkerType = WorkerT< EDAnalyzer >
 
using ModuleType = EDAnalyzer
 

Public Member Functions

 CalibSystHistMaker (fhicl::ParameterSet const &pset)
 
virtual ~CalibSystHistMaker ()
 
void analyze (art::Event const &evt) override
 
void beginJob () override
 
void reconfigure (fhicl::ParameterSet const &pset)
 
std::string workerType () const
 
bool modifiesEvent () const
 
void registerProducts (MasterProductRegistry &, ProductDescriptions &, ModuleDescription const &)
 
std::string const & processName () const
 
bool wantAllEvents () const
 
bool wantEvent (Event const &e)
 
fhicl::ParameterSetID selectorConfig () const
 
art::Handle< art::TriggerResultsgetTriggerResults (Event const &e) const
 
template<typename T , BranchType = InEvent>
ProductToken< Tconsumes (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< Tconsumes (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void consumesMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > consumesView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TconsumesView (InputTag const &it)
 
template<typename T , BranchType = InEvent>
ProductToken< TmayConsume (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ProductToken< TmayConsume (InputTag const &it)
 
template<typename T , BranchType = InEvent>
void mayConsumeMany ()
 
template<typename Element , BranchType = InEvent>
ViewToken< Element > mayConsumeView (InputTag const &)
 
template<typename T , art::BranchType BT>
art::ViewToken< TmayConsumeView (InputTag const &it)
 
base_engine_tcreateEngine (seed_t seed)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make)
 
base_engine_tcreateEngine (seed_t seed, std::string const &kind_of_engine_to_make, label_t const &engine_label)
 
seed_t get_seed_value (fhicl::ParameterSet const &pset, char const key[]="seed", seed_t const implicit_seed=-1)
 

Static Public Member Functions

static cet::exempt_ptr< Consumernon_module_context ()
 

Protected Member Functions

CurrentProcessingContext const * currentContext () const
 
detail::CachedProducts & cachedProducts ()
 
void validateConsumedProduct (BranchType const bt, ProductInfo const &pi)
 
void prepareForJob (fhicl::ParameterSet const &pset)
 
void showMissingConsumes () const
 

Private Member Functions

void ReadEventListTree (std::string eventListTree, std::string file)
 

Private Attributes

std::string fCalibSyst
 Calibration systematic in question. More...
 
std::string fEventListDir
 Directory eventlisttree files are found. More...
 
std::string fNomEventList
 Nominal eventlist tree file. More...
 
std::string fPluEventList
 +1 sigma shifted eventlist tree file. More...
 
std::string fMinEventList
 -1 sigma shifted eventlist tree file. More...
 
std::string analysisType
 The analysis type, used for naming output. More...
 
std::string det
 The detector used. More...
 
std::string beam
 Beam type. More...
 
art::ServiceHandle< art::TFileServicefTFS
 
fnex::SelectionType_t fSelection
 Are we selecting for numu or nue? More...
 
std::set< std::stringfEpochsToUse
 Which epochs are we using? More...
 
fnex::BeamType_t fBeamType
 Is beam FHC or RHC? More...
 
novadaq::cnv::DetId fDetId
 ND or FD? More...
 
TH1D * hNom_NuMuCC
 
TH1D * hNom_NuMuBarCC
 
TH1D * hNom_NuECC
 
TH1D * hNom_NuEBarCC
 
TH1D * hNom_NuTauCC
 
TH1D * hNom_NuTauBarCC
 
TH1D * hNom_NC
 
TH1D * hPlu_NuMuCC
 
TH1D * hPlu_NuMuBarCC
 
TH1D * hPlu_NuECC
 
TH1D * hPlu_NuEBarCC
 
TH1D * hPlu_NuTauCC
 
TH1D * hPlu_NuTauBarCC
 
TH1D * hPlu_NC
 
TH1D * hMin_NuMuCC
 
TH1D * hMin_NuMuBarCC
 
TH1D * hMin_NuECC
 
TH1D * hMin_NuEBarCC
 
TH1D * hMin_NuTauCC
 
TH1D * hMin_NuTauBarCC
 
TH1D * hMin_NC
 
TH1D * hRatioPlu_NuMuCC
 
TH1D * hRatioPlu_NuMuBarCC
 
TH1D * hRatioPlu_NuECC
 
TH1D * hRatioPlu_NuEBarCC
 
TH1D * hRatioPlu_NuTauCC
 
TH1D * hRatioPlu_NuTauBarCC
 
TH1D * hRatioPlu_NC
 
TH1D * hRatioMin_NuMuCC
 
TH1D * hRatioMin_NuMuBarCC
 
TH1D * hRatioMin_NuECC
 
TH1D * hRatioMin_NuEBarCC
 
TH1D * hRatioMin_NuTauCC
 
TH1D * hRatioMin_NuTauBarCC
 
TH1D * hRatioMin_NC
 

Detailed Description

Definition at line 34 of file CalibSystHistMaker_module.cc.

Member Typedef Documentation

Definition at line 39 of file EDAnalyzer.h.

Definition at line 38 of file EDAnalyzer.h.

Constructor & Destructor Documentation

fnex::CalibSystHistMaker::CalibSystHistMaker ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 113 of file CalibSystHistMaker_module.cc.

References reconfigure().

114  : EDAnalyzer(pset)
115  {
116  this->reconfigure(pset);
117 
118  return;
119  }
EDAnalyzer(Table< Config > const &config)
Definition: EDAnalyzer.h:100
void reconfigure(fhicl::ParameterSet const &pset)
fnex::CalibSystHistMaker::~CalibSystHistMaker ( )
virtual

Definition at line 122 of file CalibSystHistMaker_module.cc.

122 {}

Member Function Documentation

void fnex::CalibSystHistMaker::analyze ( art::Event const &  evt)
overridevirtual

Implements art::EDAnalyzer.

Definition at line 292 of file CalibSystHistMaker_module.cc.

References analysisType, fCalibSyst, fMinEventList, fNomEventList, fPluEventList, hNom_NC, hNom_NuEBarCC, hNom_NuECC, hNom_NuMuBarCC, hNom_NuMuCC, hNom_NuTauBarCC, hNom_NuTauCC, hRatioMin_NC, hRatioMin_NuEBarCC, hRatioMin_NuECC, hRatioMin_NuMuBarCC, hRatioMin_NuMuCC, hRatioMin_NuTauBarCC, hRatioMin_NuTauCC, hRatioPlu_NC, hRatioPlu_NuEBarCC, hRatioPlu_NuECC, hRatioPlu_NuMuBarCC, hRatioPlu_NuMuCC, hRatioPlu_NuTauBarCC, hRatioPlu_NuTauCC, LOG_VERBATIM, and ReadEventListTree().

293  {
294  LOG_VERBATIM("CalibSystHistMaker")
295  << "Generating calibration systematic histograms for "
296  << analysisType
297  << ".";
298 
299  // read nominal eventlisttree and fill true neutrino energy histograms
300  this->ReadEventListTree(fNomEventList, "nom");
301 
302  // now do the same for plus 1 sigma (and minus 1 sigma depending on
303  // systematic in question)
304  this->ReadEventListTree(fPluEventList, "plus");
305  if(fCalibSyst == "AbsCalibration" || fCalibSyst == "LightLevel")
306  this->ReadEventListTree(fMinEventList, "minus");
307 
308  // make the ratio histograms ratios
309  hRatioPlu_NuMuCC ->Divide(hNom_NuMuCC );
311  hRatioPlu_NuECC ->Divide(hNom_NuECC );
313  hRatioPlu_NuTauCC ->Divide(hNom_NuTauCC );
315  hRatioPlu_NC ->Divide(hNom_NC );
316 
317  if(fCalibSyst == "AbsCalibration" || fCalibSyst == "LightLevel") {
318  hRatioMin_NuMuCC ->Divide(hNom_NuMuCC );
320  hRatioMin_NuECC ->Divide(hNom_NuECC );
322  hRatioMin_NuTauCC ->Divide(hNom_NuTauCC );
324  hRatioMin_NC ->Divide(hNom_NC );
325  }
326 
327  LOG_VERBATIM("CalibSystHistMaker")
328  << "Shifted/nominal calibration systematic histograms made.";
329  }
void ReadEventListTree(std::string eventListTree, std::string file)
std::string analysisType
The analysis type, used for naming output.
std::string fNomEventList
Nominal eventlist tree file.
#define LOG_VERBATIM(category)
std::string fPluEventList
+1 sigma shifted eventlist tree file.
std::string fMinEventList
-1 sigma shifted eventlist tree file.
std::string fCalibSyst
Calibration systematic in question.
void fnex::CalibSystHistMaker::beginJob ( )
overridevirtual

Reimplemented from art::EDAnalyzer.

Definition at line 223 of file CalibSystHistMaker_module.cc.

References analysisType, beam, bins, det, fCalibSyst, fTFS, hMin_NC, hMin_NuEBarCC, hMin_NuECC, hMin_NuMuBarCC, hMin_NuMuCC, hMin_NuTauBarCC, hMin_NuTauCC, hNom_NC, hNom_NuEBarCC, hNom_NuECC, hNom_NuMuBarCC, hNom_NuMuCC, hNom_NuTauBarCC, hNom_NuTauCC, hPlu_NC, hPlu_NuEBarCC, hPlu_NuECC, hPlu_NuMuBarCC, hPlu_NuMuCC, hPlu_NuTauBarCC, hPlu_NuTauCC, hRatioMin_NC, hRatioMin_NuEBarCC, hRatioMin_NuECC, hRatioMin_NuMuBarCC, hRatioMin_NuMuCC, hRatioMin_NuTauBarCC, hRatioMin_NuTauCC, hRatioPlu_NC, hRatioPlu_NuEBarCC, hRatioPlu_NuECC, hRatioPlu_NuMuBarCC, hRatioPlu_NuMuCC, hRatioPlu_NuTauBarCC, hRatioPlu_NuTauCC, art::TFileDirectory::make(), art::TFileDirectory::mkdir(), and nbins.

224  {
225  // binning for histograms (TODO: actually not sure if I want to bin like this?)
226  std::vector<Double_t> bins;
227  if(analysisType.find("NuMu") != std::string::npos ||
228  analysisType.find("Numu") != std::string::npos) {
229  bins = {0, 0.75, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.25, 2.50, 2.75, 3., 3.5, 4., 5.};
230  }
231  else if(analysisType.find("NuE") != std::string::npos ||
232  analysisType.find("Nue") != std::string::npos) {
233  bins = {0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0};
234  }
235  Int_t nbins = bins.size() - 1;
236 
237  // put base histograms in their own directory
238  art::TFileDirectory baseDir = fTFS->mkdir("base_histograms_" + analysisType + "_" + det + "_" + beam + "_" + fCalibSyst);
239 
240  // generate empty histograms
241  hNom_NuMuCC = baseDir.make<TH1D>("hNom_NuMuCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
242  hNom_NuMuBarCC = baseDir.make<TH1D>("hNom_NuMuBarCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
243  hNom_NuECC = baseDir.make<TH1D>("hNom_NuECC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
244  hNom_NuEBarCC = baseDir.make<TH1D>("hNom_NuEbarCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
245  hNom_NuTauCC = baseDir.make<TH1D>("hNom_NuTauCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
246  hNom_NuTauBarCC = baseDir.make<TH1D>("hNom_NuTauBarCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
247  hNom_NC = baseDir.make<TH1D>("hNom_NC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
248 
249  hPlu_NuMuCC = baseDir.make<TH1D>("hPlu_NuMuCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
250  hPlu_NuMuBarCC = baseDir.make<TH1D>("hPlu_NuMuBarCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
251  hPlu_NuECC = baseDir.make<TH1D>("hPlu_NuECC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
252  hPlu_NuEBarCC = baseDir.make<TH1D>("hPlu_NuEbarCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
253  hPlu_NuTauCC = baseDir.make<TH1D>("hPlu_NuTauCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
254  hPlu_NuTauBarCC = baseDir.make<TH1D>("hPlu_NuTauBarCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
255  hPlu_NC = baseDir.make<TH1D>("hPlu_NC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
256 
257  hMin_NuMuCC = baseDir.make<TH1D>("hMin_NuMuCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
258  hMin_NuMuBarCC = baseDir.make<TH1D>("hMin_NuMuBarCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
259  hMin_NuECC = baseDir.make<TH1D>("hMin_NuECC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
260  hMin_NuEBarCC = baseDir.make<TH1D>("hMin_NuEbarCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
261  hMin_NuTauCC = baseDir.make<TH1D>("hMin_NuTauCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
262  hMin_NuTauBarCC = baseDir.make<TH1D>("hMin_NuTauBarCC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
263  hMin_NC = baseDir.make<TH1D>("hMin_NC", ";E^{#nu}_{true} (GeV);Events", nbins, bins.data());
264 
265  // create directory for the ratio histograms
266  art::TFileDirectory ratioDir = fTFS->mkdir("ratio_" + analysisType + "_" + det + "_" + beam + "_" + fCalibSyst);
267 
268  // now do the same for the ratio histograms
269  hRatioPlu_NuMuCC = ratioDir.make<TH1D>("hRatioPlu_NuMuCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
270  hRatioPlu_NuMuBarCC = ratioDir.make<TH1D>("hRatioPlu_NuMuBarCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
271  hRatioPlu_NuECC = ratioDir.make<TH1D>("hRatioPlu_NuECC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
272  hRatioPlu_NuEBarCC = ratioDir.make<TH1D>("hRatioPlu_NuEbarCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
273  hRatioPlu_NuTauCC = ratioDir.make<TH1D>("hRatioPlu_NuTauCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
274  hRatioPlu_NuTauBarCC = ratioDir.make<TH1D>("hRatioPlu_NuTauBarCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
275  hRatioPlu_NC = ratioDir.make<TH1D>("hRatioPlu_NC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
276 
277  // only want -1 sigma ratios if -1 sigma exists for this systematic
278  if(fCalibSyst == "AbsCalibration" || fCalibSyst == "LightLevel") {
279  hRatioMin_NuMuCC = ratioDir.make<TH1D>("hRatioMin_NuMuCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
280  hRatioMin_NuMuBarCC = ratioDir.make<TH1D>("hRatioMin_NuMuBarCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
281  hRatioMin_NuECC = ratioDir.make<TH1D>("hRatioMin_NuECC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
282  hRatioMin_NuEBarCC = ratioDir.make<TH1D>("hRatioMin_NuEbarCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
283  hRatioMin_NuTauCC = ratioDir.make<TH1D>("hRatioMin_NuTauCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
284  hRatioMin_NuTauBarCC = ratioDir.make<TH1D>("hRatioMin_NuTauBarCC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
285  hRatioMin_NC = ratioDir.make<TH1D>("hRatioMin_NC", ";E^{#nu}_{true} (GeV);Ratio", nbins, bins.data());
286  }
287 
288  return;
289  }
art::ServiceHandle< art::TFileService > fTFS
TFileDirectory mkdir(std::string const &dir, std::string const &descr="")
std::string analysisType
The analysis type, used for naming output.
const int nbins
Definition: cellShifts.C:15
const Binning bins
T * make(ARGS...args) const
std::string fCalibSyst
Calibration systematic in question.
std::string det
The detector used.
detail::CachedProducts& art::EventObserverBase::cachedProducts ( )
inlineprotectedinherited

Definition at line 79 of file EventObserverBase.h.

References art::EventObserverBase::selectors_.

80  {
81  return selectors_;
82  }
detail::CachedProducts selectors_
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::consumes ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::consumes ( InputTag const &  it)
inherited

Definition at line 146 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

147 {
148  if (!moduleContext_)
149  return ProductToken<T>::invalid();
150 
151  consumables_[BT].emplace_back(ConsumableType::Product,
152  TypeID{typeid(T)},
153  it.label(),
154  it.instance(),
155  it.process());
156  return ProductToken<T>{it};
157 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::consumesMany ( )
inherited

Definition at line 161 of file Consumer.h.

References T.

162 {
163  if (!moduleContext_)
164  return;
165 
166  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
167 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::consumesView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::consumesView ( InputTag const &  it)
inherited

Definition at line 171 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

172 {
173  if (!moduleContext_)
174  return ViewToken<T>::invalid();
175 
176  consumables_[BT].emplace_back(ConsumableType::ViewElement,
177  TypeID{typeid(T)},
178  it.label(),
179  it.instance(),
180  it.process());
181  return ViewToken<T>{it};
182 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make 
)
inherited
base_engine_t& art::EngineCreator::createEngine ( seed_t  seed,
std::string const &  kind_of_engine_to_make,
label_t const &  engine_label 
)
inherited
CurrentProcessingContext const* art::EDAnalyzer::currentContext ( ) const
protectedinherited
seed_t art::EngineCreator::get_seed_value ( fhicl::ParameterSet const &  pset,
char const  key[] = "seed",
seed_t const  implicit_seed = -1 
)
inherited
art::Handle<art::TriggerResults> art::EventObserverBase::getTriggerResults ( Event const &  e) const
inlineinherited

Definition at line 61 of file EventObserverBase.h.

References art::detail::CachedProducts::getOneTriggerResults(), and art::EventObserverBase::selectors_.

62  {
64  }
detail::CachedProducts selectors_
art::Handle< art::TriggerResults > getOneTriggerResults(Event const &) const
Float_t e
Definition: plot.C:35
template<typename T , BranchType = InEvent>
ProductToken<T> art::Consumer::mayConsume ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ProductToken<T> art::Consumer::mayConsume ( InputTag const &  it)
inherited

Definition at line 189 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

190 {
191  if (!moduleContext_)
192  return ProductToken<T>::invalid();
193 
194  consumables_[BT].emplace_back(ConsumableType::Product,
195  TypeID{typeid(T)},
196  it.label(),
197  it.instance(),
198  it.process());
199  return ProductToken<T>{it};
200 }
set< int >::iterator it
static ProductToken< T > invalid()
Definition: ProductToken.h:47
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename T , art::BranchType BT>
void art::Consumer::mayConsumeMany ( )
inherited

Definition at line 204 of file Consumer.h.

References T.

205 {
206  if (!moduleContext_)
207  return;
208 
209  consumables_[BT].emplace_back(ConsumableType::Many, TypeID{typeid(T)});
210 }
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
template<typename Element , BranchType = InEvent>
ViewToken<Element> art::Consumer::mayConsumeView ( InputTag const &  )
inherited
template<typename T , art::BranchType BT>
art::ViewToken<T> art::Consumer::mayConsumeView ( InputTag const &  it)
inherited

Definition at line 214 of file Consumer.h.

References art::InputTag::instance(), PandAna.reco_validation.prod5_pid_validation::invalid, art::InputTag::label(), art::InputTag::process(), and T.

215 {
216  if (!moduleContext_)
217  return ViewToken<T>::invalid();
218 
219  consumables_[BT].emplace_back(ConsumableType::ViewElement,
220  TypeID{typeid(T)},
221  it.label(),
222  it.instance(),
223  it.process());
224  return ViewToken<T>{it};
225 }
set< int >::iterator it
static ViewToken< Element > invalid()
Definition: ProductToken.h:75
ConsumableProducts consumables_
Definition: Consumer.h:137
double T
Definition: Xdiff_gwt.C:5
bool moduleContext_
Definition: Consumer.h:135
bool art::EventObserverBase::modifiesEvent ( ) const
inlineinherited

Definition at line 25 of file EventObserverBase.h.

26  {
27  return false;
28  }
static cet::exempt_ptr<Consumer> art::Consumer::non_module_context ( )
staticinherited
void art::Consumer::prepareForJob ( fhicl::ParameterSet const &  pset)
protectedinherited
std::string const& art::EventObserverBase::processName ( ) const
inlineinherited
void fnex::CalibSystHistMaker::ReadEventListTree ( std::string  eventListTree,
std::string  file 
)
private

Definition at line 332 of file CalibSystHistMaker_module.cc.

References fnex::MetaData::BeamType(), fnex::DEFINE_ART_MODULE(), fnex::MetaData::detector, HTMLTools::entry(), fnex::MetaData::EpochString(), art::rootNames::eventTreeName(), evt, fBeamType, fDetId, fEpochsToUse, Fill(), fSelection, fnex::TruthVars::fTrueE, fnex::WeightVars::fXSecCVPPFX_Weight, fnex::SpillSummary::goodPOT, hMin_NC, hMin_NuEBarCC, hMin_NuECC, hMin_NuMuBarCC, hMin_NuMuCC, hMin_NuTauBarCC, hMin_NuTauCC, hNom_NC, hNom_NuEBarCC, hNom_NuECC, hNom_NuMuBarCC, hNom_NuMuCC, hNom_NuTauBarCC, hNom_NuTauCC, hPlu_NC, hPlu_NuEBarCC, hPlu_NuECC, hPlu_NuMuBarCC, hPlu_NuMuCC, hPlu_NuTauBarCC, hPlu_NuTauCC, hRatioMin_NC, hRatioMin_NuEBarCC, hRatioMin_NuECC, hRatioMin_NuMuBarCC, hRatioMin_NuMuCC, hRatioMin_NuTauBarCC, hRatioMin_NuTauCC, hRatioPlu_NC, hRatioPlu_NuEBarCC, hRatioPlu_NuECC, hRatioPlu_NuMuBarCC, hRatioPlu_NuMuCC, hRatioPlu_NuTauBarCC, hRatioPlu_NuTauCC, fnex::MetaData::isMC, novadaq::cnv::kNEARDET, fnex::kNuESelectionPeripheral, LOG_DEBUG, LOG_VERBATIM, fetch_tb_beamline_files::md, norm, POT, fnex::MetaData::selectionType, ss, string, and fnex::MetaData::ToString().

Referenced by analyze().

333  {
334 
335  // open the eventlisttree file
336  TFile *fEventList = TFile::Open(eventListTree.c_str());
337  LOG_VERBATIM("ReadEventListTree")
338  << "File "
339  << eventListTree
340  << " has been opened.";
341 
342  // get the metadata tree
343  std::string mdTreeName("list/full/metadata");
344  TTree *mdTree = dynamic_cast<TTree*>(fEventList->Get(mdTreeName.c_str()));
345 
346  // throw exception if not found
347  if(!mdTree) {
348  throw cet::exception("CalibSystHistMaker")
349  << "Cannot find md tree "
350  << mdTreeName
351  << " in "
352  << eventListTree
353  << ".";
354  }
355  LOG_DEBUG("CalibSystHistMaker")
356  << "Metadata tree name is "
357  << (std::string)mdTree->GetName();
358 
359  // look at metadata and spillsummary branches
360  fnex::MetaData *md = nullptr;
361  fnex::SpillSummary *ss = nullptr;
362  mdTree->SetBranchAddress("metadata", &md);
363  mdTree->SetBranchAddress("spillsummary", &ss);
364 
365  // set to store metadata names
366  std::set<std::string> mdString;
367 
368  // map to store POT with md key
369  std::map<std::string, double> mdPOT;
370 
371  // loop over metadata entries
372  for(int entry = 0; entry < mdTree->GetEntries(); ++entry) {
373 
374  mdTree->GetEntry(entry);
375 
376  // only want MC
377  if(!md->isMC)
378  continue;
379 
380  // only pass if correct detector
381  if(md->detector != fDetId)
382  continue;
383 
384  // only interested in current selection
385  if(md->selectionType != fSelection)
386  continue;
387 
388  // only use selected epochs
389  if(fEpochsToUse.count(md->EpochString()) < 1)
390  continue;
391 
392  // no peripheral sample in ND
393  if(md->detector == novadaq::cnv::kNEARDET &&
395  continue;
396 
397  // only interested in FHC or RHC
398  if(fBeamType != md->BeamType())
399  continue;
400 
401  // store the name of the metadata
402  mdString.insert(md->ToString());
403 
404  // store the POT for that particular metadata
405  if(mdPOT.find(md->ToString()) == mdPOT.end()) {
406  mdPOT.insert(std::pair<std::string, double>(md->ToString(), ss->goodPOT * 1.e-12));
407  } else {
408  mdPOT.at(md->ToString()) += ss->goodPOT * 1.e-12;
409  }
410 
411  } // end loop over metadata tree
412 
413  LOG_VERBATIM("CalibSystHistMaker")
414  << "We have this much metadata: "
415  << mdString.size();
416 
417  // now we get the event tree
418  std::string eventTreeName("list/full/");
419 
420  // number of entries
421  unsigned long nEntries = 0.;
422 
423  // loop thru metadata set for eventlist trees
424  for (auto itr = mdString.begin(); itr != mdString.end(); ++itr) {
425  auto mdStr = *itr;
426 
427  TTree *eventTree = dynamic_cast<TTree*>(fEventList->Get((eventTreeName + mdStr).c_str()));
428 
429  if(!eventTree) {
430  throw cet::exception("CalibSystHistMaker")
431  << "Cannot find event tree with metadata "
432  << mdStr;
433  }
434 
435  nEntries += eventTree->GetEntries();
436 
437  // now actually read the eventlist tree
438 
439  // things we are interested in. probably.
440  fnex::DataVars dataVars;
441  fnex::TruthVars truthVars;
442  fnex::WeightVars weightVars;
443 
444  eventTree->SetBranchAddress("dataVars", &dataVars);
445 
446  // only MC will have truth/weights
447  if(mdStr.find("MC") != std::string::npos) {
448  eventTree->SetBranchAddress("truthVars", &truthVars );
449  eventTree->SetBranchAddress("weightVars", &weightVars);
450  }
451 
452  // get POT for this eventlist
453  auto POT = mdPOT.at(mdStr);
454 
455  // POT normalisation for histograms
456  double norm = 0;
457 
458  if(POT == 0)
459  LOG_VERBATIM("CalibSystHistMaker")
460  << "POT for "
461  << mdStr
462  << " is zero. Something has gone wrong.";
463  else
464  norm = 1.e9 / POT; // multiple by 1e9 so the base histograms keep sensible values
465 
466  double neutrinoTrueE = 0.;
467  double cvWgt = 0.;
468 
469  // loop thru entries in tree
470  for(int evt = 0; evt < eventTree->GetEntries(); ++evt) {
471 
472  // get entry
473  eventTree->GetEntry(evt);
474 
475  // get true energy and central value weight (xsec/PPFX)
476  neutrinoTrueE = truthVars .fTrueE;
477  cvWgt = weightVars.fXSecCVPPFX_Weight;
478 
479  if(file.compare("nom" ) == 0) {
480  if (mdStr.find("NuMuCC" ) != std::string::npos)
481  hNom_NuMuCC ->Fill(neutrinoTrueE, cvWgt * norm);
482  else if(mdStr.find("NuMuBarCC" ) != std::string::npos)
483  hNom_NuMuBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
484  else if(mdStr.find("NuECC" ) != std::string::npos)
485  hNom_NuECC ->Fill(neutrinoTrueE, cvWgt * norm);
486  else if(mdStr.find("NuEBarCC" ) != std::string::npos)
487  hNom_NuEBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
488  else if(mdStr.find("NuTauCC" ) != std::string::npos)
489  hNom_NuTauCC ->Fill(neutrinoTrueE, cvWgt * norm);
490  else if(mdStr.find("NuTauBarCC") != std::string::npos)
491  hNom_NuTauBarCC->Fill(neutrinoTrueE, cvWgt * norm);
492  else if(mdStr.find("NC" ) != std::string::npos)
493  hNom_NC ->Fill(neutrinoTrueE, cvWgt * norm);
494  }
495  else if(file.compare("plus" ) == 0) {
496  if (mdStr.find("NuMuCC" ) != std::string::npos) {
497  hPlu_NuMuCC ->Fill(neutrinoTrueE, cvWgt * norm);
498  hRatioPlu_NuMuCC ->Fill(neutrinoTrueE, cvWgt * norm);
499  }
500  else if(mdStr.find("NuMuBarCC" ) != std::string::npos) {
501  hPlu_NuMuBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
502  hRatioPlu_NuMuBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
503  }
504  else if(mdStr.find("NuECC" ) != std::string::npos) {
505  hPlu_NuECC ->Fill(neutrinoTrueE, cvWgt * norm);
506  hRatioPlu_NuECC ->Fill(neutrinoTrueE, cvWgt * norm);
507  }
508  else if(mdStr.find("NuEBarCC" ) != std::string::npos) {
509  hPlu_NuEBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
510  hRatioPlu_NuEBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
511  }
512  else if(mdStr.find("NuTauCC" ) != std::string::npos) {
513  hPlu_NuTauCC ->Fill(neutrinoTrueE, cvWgt * norm);
514  hRatioPlu_NuTauCC ->Fill(neutrinoTrueE, cvWgt * norm);
515  }
516  else if(mdStr.find("NuTauBarCC") != std::string::npos) {
517  hPlu_NuTauBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
518  hRatioPlu_NuTauBarCC->Fill(neutrinoTrueE, cvWgt * norm);
519  }
520  else if(mdStr.find("NC" ) != std::string::npos) {
521  hPlu_NC ->Fill(neutrinoTrueE, cvWgt * norm);
522  hRatioPlu_NC ->Fill(neutrinoTrueE, cvWgt * norm);
523  }
524  }
525  else if(file.compare("minus") == 0) {
526  if (mdStr.find("NuMuCC" ) != std::string::npos) {
527  hMin_NuMuCC ->Fill(neutrinoTrueE, cvWgt * norm);
528  hRatioMin_NuMuCC ->Fill(neutrinoTrueE, cvWgt * norm);
529  }
530  else if(mdStr.find("NuMuBarCC" ) != std::string::npos) {
531  hMin_NuMuBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
532  hRatioMin_NuMuBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
533  }
534  else if(mdStr.find("NuECC" ) != std::string::npos) {
535  hMin_NuECC ->Fill(neutrinoTrueE, cvWgt * norm);
536  hRatioMin_NuECC ->Fill(neutrinoTrueE, cvWgt * norm);
537  }
538  else if(mdStr.find("NuEBarCC" ) != std::string::npos) {
539  hMin_NuEBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
540  hRatioMin_NuEBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
541  }
542  else if(mdStr.find("NuTauCC" ) != std::string::npos) {
543  hMin_NuTauCC ->Fill(neutrinoTrueE, cvWgt * norm);
544  hRatioMin_NuTauCC ->Fill(neutrinoTrueE, cvWgt * norm);
545  }
546  else if(mdStr.find("NuTauBarCC") != std::string::npos) {
547  hMin_NuTauBarCC ->Fill(neutrinoTrueE, cvWgt * norm);
548  hRatioMin_NuTauBarCC->Fill(neutrinoTrueE, cvWgt * norm);
549  }
550  else if(mdStr.find("NC" ) != std::string::npos) {
551  hMin_NC ->Fill(neutrinoTrueE, cvWgt * norm);
552  hRatioMin_NC ->Fill(neutrinoTrueE, cvWgt * norm);
553  }
554  } // end checks on file type
555 
556  } // end loop thru events
557 
558  } // end loop thru eventlist tree metadata set
559 
560  } // end ReadEventList
#define LOG_DEBUG(stream)
Definition: Messenger.h:149
float fXSecCVPPFX_Weight
Was Tufts weight for SA.
Definition: VarVals.h:752
Float_t ss
Definition: plot.C:24
std::string const & eventTreeName()
::xsd::cxx::tree::exception< char > exception
Definition: Database.h:225
std::string const EpochString() const
Definition: Structs.cxx:101
fnex::BeamType_t fBeamType
Is beam FHC or RHC?
std::string const ToString() const
Definition: Structs.cxx:114
novadaq::cnv::DetId fDetId
ND or FD?
correl_yv Fill(-(dy[iP-1][iC-1]), hyv->GetBinContent(iP, iC))
int evt
Near Detector in the NuMI cavern.
novadaq::cnv::DetId detector
Definition: Structs.h:50
std::vector< double > POT
fnex::SelectionType_t selectionType
Definition: Structs.h:52
Float_t norm
float fTrueE
True nu energy.
Definition: VarVals.h:646
fnex::SelectionType_t fSelection
Are we selecting for numu or nue?
TFile * file
Definition: cellShifts.C:17
#define LOG_VERBATIM(category)
fnex::BeamType_t const BeamType() const
Definition: Structs.cxx:165
std::set< std::string > fEpochsToUse
Which epochs are we using?
def entry(str)
Definition: HTMLTools.py:26
enum BeamMode string
void fnex::CalibSystHistMaker::reconfigure ( fhicl::ParameterSet const &  pset)

Definition at line 125 of file CalibSystHistMaker_module.cc.

References analysisType, beam, det, fBeamType, fCalibSyst, fDetId, fEpochsToUse, fEventListDir, fMinEventList, fNomEventList, fPluEventList, fSelection, fhicl::ParameterSet::get(), cmf::kFARDET, fnex::kFHC, cmf::kNEARDET, fnex::kNuESelectionHighPID, fnex::kNuESelectionLowPID, fnex::kNuESelectionPeripheral, fnex::kNuMuSelectionQ1, fnex::kNuMuSelectionQ2, fnex::kNuMuSelectionQ3, fnex::kNuMuSelectionQ4, fnex::kRHC, LOG_VERBATIM, and string.

Referenced by CalibSystHistMaker().

126  {
127  fCalibSyst = pset.get< std::string >("CalibSyst" );
128  fEventListDir = pset.get< std::string >("EventListDir" );
129  fNomEventList = pset.get< std::string >("NominalEventList");
130  analysisType = pset.get< std::string >("AnalysisType" );
131  det = pset.get< std::string >("Detector" );
132  beam = pset.get< std::string >("BeamType" );
133 
134  auto epochs = pset.get<std::vector<fhicl::ParameterSet> >("EpochsToUse" );
135 
136  // format nominal eventlist location correctly
137  fNomEventList = fEventListDir + fNomEventList;
138 
139  // find the shifted eventlisttrees
140  if (fCalibSyst.compare("AbsCalibration") == 0) {
141  fPluEventList = fEventListDir + "eventlist_calib-shift-xyview-pos-offset_2018.root";
142  fMinEventList = fEventListDir + "eventlist_calib-shift-xyview-neg-offset_2018.root";
143  }
144  else if(fCalibSyst.compare("CalibShape" ) == 0) {
145  fPluEventList = fEventListDir + "eventlist_calib-shift-func_2018.root";
146  }
147  else if(fCalibSyst.compare("Cherenkov" ) == 0) {
148  fPluEventList = fEventListDir + "eventlist_ckv-proton-shift-down_2018.root";
149  }
150  else if(fCalibSyst.compare("LightLevel" ) == 0) {
151  fPluEventList = fEventListDir + "eventlist_lightmodel-lightup-calibdown_2018.root";
152  fMinEventList = fEventListDir + "eventlist_lightmodel-lightdown-calibup_2018.root";
153  }
154  else {
155  throw cet::exception("CalibSystHistMaker")
156  << fCalibSyst
157  << " is not a valid calibration systematic."
158  << " Try AbsCalibration, CalibShape, Cherenkov or LightLevel.";
159  }
160 
161  // set selection type
162  if(analysisType.find("NuMu") != std::string::npos ||
163  analysisType.find("Numu") != std::string::npos) {
164  if(analysisType.find("Q1") != std::string::npos)
166  if(analysisType.find("Q2") != std::string::npos)
168  if(analysisType.find("Q3") != std::string::npos)
170  if(analysisType.find("Q4") != std::string::npos)
172  }
173  else if(analysisType.find("NuE") != std::string::npos ||
174  analysisType.find("Nue") != std::string::npos) {
175  if(analysisType.find("HighPID" ) != std::string::npos)
177  if(analysisType.find("LowPID" ) != std::string::npos)
179  if(analysisType.find("Peripheral") != std::string::npos)
181  }
182  else {
183  throw cet::exception("CalibSystHistMaker")
184  << analysisType
185  << " is not a valid analysis type."
186  << "Try NuMuQ1 or NuEHighPID etc.";
187  }
188 
189  // set beam type
190  if (beam.compare("FHC") == 0) fBeamType = fnex::kFHC;
191  else if(beam.compare("RHC") == 0) fBeamType = fnex::kRHC;
192  else {
193  throw cet::exception("CalibSystHistMaker")
194  << beam
195  << " is not a valid beam type."
196  << " Try FHC or RHC";
197  }
198 
199  // set detector
200  if (det.compare("FD") == 0) fDetId = novadaq::cnv::DetId::kFARDET;
201  else if(det.compare("ND") == 0) fDetId = novadaq::cnv::DetId::kNEARDET;
202  else {
203  throw cet::exception("CalibSystHistMaker")
204  << det
205  << " is not a valid detector type."
206  << " Try ND or FD.";
207  }
208 
209  // set epochs used in this analysis
210  std::string epoch;
211  for(auto itr : epochs) {
212  epoch = itr.get<std::string>("Period");
213  fEpochsToUse.insert(epoch);
214 
215  LOG_VERBATIM("CalibSystHistMaker")
216  << "Using epoch "
217  << epoch
218  << " in this analysis.";
219  } // end loop over epochs
220  }
::xsd::cxx::tree::exception< char > exception
Definition: Database.h:225
std::string fEventListDir
Directory eventlisttree files are found.
std::string analysisType
The analysis type, used for naming output.
fnex::BeamType_t fBeamType
Is beam FHC or RHC?
novadaq::cnv::DetId fDetId
ND or FD?
std::string fNomEventList
Nominal eventlist tree file.
fnex::SelectionType_t fSelection
Are we selecting for numu or nue?
#define LOG_VERBATIM(category)
std::set< std::string > fEpochsToUse
Which epochs are we using?
std::string fPluEventList
+1 sigma shifted eventlist tree file.
std::string fMinEventList
-1 sigma shifted eventlist tree file.
std::string fCalibSyst
Calibration systematic in question.
std::string det
The detector used.
enum BeamMode string
void art::EventObserverBase::registerProducts ( MasterProductRegistry ,
ProductDescriptions ,
ModuleDescription const &   
)
inlineinherited

Definition at line 33 of file EventObserverBase.h.

References string.

36  {}
fhicl::ParameterSetID art::EventObserverBase::selectorConfig ( ) const
inlineinherited

Definition at line 56 of file EventObserverBase.h.

References art::EventObserverBase::selector_config_id_.

57  {
58  return selector_config_id_;
59  }
fhicl::ParameterSetID selector_config_id_
void art::Consumer::showMissingConsumes ( ) const
protectedinherited

Referenced by art::RootOutput::endJob().

void art::Consumer::validateConsumedProduct ( BranchType const  bt,
ProductInfo const &  pi 
)
protectedinherited
bool art::EventObserverBase::wantAllEvents ( ) const
inlineinherited

Definition at line 46 of file EventObserverBase.h.

References art::EventObserverBase::wantAllEvents_.

Referenced by art::RootOutput::RootOutput().

47  {
48  return wantAllEvents_;
49  }
bool art::EventObserverBase::wantEvent ( Event const &  e)
inlineinherited

Definition at line 51 of file EventObserverBase.h.

References art::EventObserverBase::selectors_, and art::detail::CachedProducts::wantEvent().

52  {
53  return selectors_.wantEvent(e);
54  }
detail::CachedProducts selectors_
Float_t e
Definition: plot.C:35
bool wantEvent(Event const &)
std::string art::EDAnalyzer::workerType ( ) const
inlineinherited

Definition at line 109 of file EDAnalyzer.h.

References art::EDAnalyzer::currentContext().

110  {
111  return "WorkerT<EDAnalyzer>";
112  }

Member Data Documentation

std::string fnex::CalibSystHistMaker::analysisType
private

The analysis type, used for naming output.

Definition at line 53 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and reconfigure().

std::string fnex::CalibSystHistMaker::beam
private

Beam type.

Definition at line 55 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and reconfigure().

std::string fnex::CalibSystHistMaker::det
private

The detector used.

Definition at line 54 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and reconfigure().

fnex::BeamType_t fnex::CalibSystHistMaker::fBeamType
private

Is beam FHC or RHC?

Definition at line 63 of file CalibSystHistMaker_module.cc.

Referenced by ReadEventListTree(), and reconfigure().

std::string fnex::CalibSystHistMaker::fCalibSyst
private

Calibration systematic in question.

Definition at line 48 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and reconfigure().

novadaq::cnv::DetId fnex::CalibSystHistMaker::fDetId
private

ND or FD?

Definition at line 64 of file CalibSystHistMaker_module.cc.

Referenced by ReadEventListTree(), and reconfigure().

std::set<std::string> fnex::CalibSystHistMaker::fEpochsToUse
private

Which epochs are we using?

Definition at line 62 of file CalibSystHistMaker_module.cc.

Referenced by ReadEventListTree(), and reconfigure().

std::string fnex::CalibSystHistMaker::fEventListDir
private

Directory eventlisttree files are found.

Definition at line 49 of file CalibSystHistMaker_module.cc.

Referenced by reconfigure().

std::string fnex::CalibSystHistMaker::fMinEventList
private

-1 sigma shifted eventlist tree file.

Definition at line 52 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), and reconfigure().

std::string fnex::CalibSystHistMaker::fNomEventList
private

Nominal eventlist tree file.

Definition at line 50 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), and reconfigure().

std::string fnex::CalibSystHistMaker::fPluEventList
private

+1 sigma shifted eventlist tree file.

Definition at line 51 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), and reconfigure().

fnex::SelectionType_t fnex::CalibSystHistMaker::fSelection
private

Are we selecting for numu or nue?

Definition at line 61 of file CalibSystHistMaker_module.cc.

Referenced by ReadEventListTree(), and reconfigure().

art::ServiceHandle<art::TFileService> fnex::CalibSystHistMaker::fTFS
private

Definition at line 57 of file CalibSystHistMaker_module.cc.

Referenced by beginJob().

TH1D* fnex::CalibSystHistMaker::hMin_NC
private

Definition at line 91 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hMin_NuEBarCC
private

Definition at line 88 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hMin_NuECC
private

Definition at line 87 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hMin_NuMuBarCC
private

Definition at line 86 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hMin_NuMuCC
private

Definition at line 85 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hMin_NuTauBarCC
private

Definition at line 90 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hMin_NuTauCC
private

Definition at line 89 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hNom_NC
private

Definition at line 73 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hNom_NuEBarCC
private

Definition at line 70 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hNom_NuECC
private

Definition at line 69 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hNom_NuMuBarCC
private

Definition at line 68 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hNom_NuMuCC
private

Definition at line 67 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hNom_NuTauBarCC
private

Definition at line 72 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hNom_NuTauCC
private

Definition at line 71 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hPlu_NC
private

Definition at line 82 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hPlu_NuEBarCC
private

Definition at line 79 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hPlu_NuECC
private

Definition at line 78 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hPlu_NuMuBarCC
private

Definition at line 77 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hPlu_NuMuCC
private

Definition at line 76 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hPlu_NuTauBarCC
private

Definition at line 81 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hPlu_NuTauCC
private

Definition at line 80 of file CalibSystHistMaker_module.cc.

Referenced by beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioMin_NC
private

Definition at line 109 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioMin_NuEBarCC
private

Definition at line 106 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioMin_NuECC
private

Definition at line 105 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioMin_NuMuBarCC
private

Definition at line 104 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioMin_NuMuCC
private

Definition at line 103 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioMin_NuTauBarCC
private

Definition at line 108 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioMin_NuTauCC
private

Definition at line 107 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioPlu_NC
private

Definition at line 100 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioPlu_NuEBarCC
private

Definition at line 97 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioPlu_NuECC
private

Definition at line 96 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioPlu_NuMuBarCC
private

Definition at line 95 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioPlu_NuMuCC
private

Definition at line 94 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioPlu_NuTauBarCC
private

Definition at line 99 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().

TH1D* fnex::CalibSystHistMaker::hRatioPlu_NuTauCC
private

Definition at line 98 of file CalibSystHistMaker_module.cc.

Referenced by analyze(), beginJob(), and ReadEventListTree().


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