Dummy loader that doesn't load any files. More...
#include <SpectrumLoaderBase.h>
Public Member Functions | |
| NullLoader () | |
| ~NullLoader () | |
| virtual void | Go () override |
| Load all the registered spectra. More... | |
| void | AddSpectrum (Spectrum &spect, const Var &var, const SpillCut &spillcut, const Cut &cut, const SystShifts &shift, const Var &wei=kUnweighted) override |
| void | AddSpectrum (Spectrum &spect, const MultiVar &var, const SpillCut &spillcut, const Cut &cut, const SystShifts &shift, const Var &wei=kUnweighted) override |
| void | AddSpectrum (Spectrum &spect, const SpillVar &var, const SpillCut &cut, const SpillVar &wei=kSpillUnweighted) override |
| void | AddSpectrum (Spectrum &spect, const SpillMultiVar &var, const SpillCut &cut, const SpillVar &wei=kSpillUnweighted) override |
| void | AddReweightableSpectrum (ReweightableSpectrum &spect, const Var &var, const Cut &cut, const SystShifts &shift, const Var &wei) override |
| void | AddReweightableSpectrum (ReweightableSpectrum &spect, const Var &var, const SpillCut &spillcut, const Cut &cut, const SystShifts &shift, const Var &wei) override |
Public Member Functions inherited from ana::SpectrumLoaderBase | |
| virtual | ~SpectrumLoaderBase () |
| virtual void | AddSpectrum (Spectrum &spect, const Var &var, const SpillCut &spillcut, const Cut &cut, const SystShifts &shift, const Var &wei=kUnweighted) |
| For use by the Spectrum constructor. More... | |
| virtual void | AddSpectrum (Spectrum &spect, const MultiVar &var, const SpillCut &spillcut, const Cut &cut, const SystShifts &shift, const Var &wei=kUnweighted) |
| For use by the Spectrum constructor. More... | |
| virtual void | AddSpectrum (Spectrum &spect, const SpillVar &var, const SpillCut &cut, const SpillVar &wei=kSpillUnweighted) |
| For use by the Spectrum constructor. More... | |
| virtual void | AddSpectrum (Spectrum &spect, const SpillMultiVar &var, const SpillCut &cut, const SpillVar &wei=kSpillUnweighted) |
| For use by the Spectrum constructor. More... | |
| virtual void | AddReweightableSpectrum (ReweightableSpectrum &spect, const Var &var, const Cut &cut, const SystShifts &shift, const Var &wei) |
| For use by the constructors of ReweightableSpectrum subclasses. More... | |
| virtual void | AddReweightableSpectrum (ReweightableSpectrum &spect, const Var &var, const SpillCut &spillcut, const SliceCut &slicecut, const SystShifts &shift, const Var &wei) |
| For use by the constructors of ReweightableSpectrum subclasses. More... | |
| virtual bool | Gone () const |
| Indicate whether or not Go has been called. More... | |
Additional Inherited Members | |
Protected Types inherited from ana::SpectrumLoaderBase | |
| typedef _VarOrMultiVar < caf::SRSliceProxy > | VarOrMultiVar |
| typedef _VarOrMultiVar < caf::SRSpillProxy > | SpillVarOrMultiVar |
Protected Member Functions inherited from ana::SpectrumLoaderBase | |
| SpectrumLoaderBase (DataSource src=kBeam) | |
| Component of other constructors. More... | |
| SpectrumLoaderBase (const std::string &wildcard, DataSource src=kBeam) | |
| Construct from a filename, wildcard, SAM definition, or SAM query. More... | |
| SpectrumLoaderBase (const std::vector< std::string > &fnames, DataSource src=kBeam) | |
| Construct from an explicit list of files. More... | |
| SpectrumLoaderBase (SpectrumLoaderBase &&)=default | |
| SpectrumLoaderBase & | operator= (SpectrumLoaderBase &&)=default |
| SpectrumLoaderBase (const SpectrumLoaderBase &)=delete | |
| SpectrumLoaderBase & | operator= (const SpectrumLoaderBase &)=delete |
| IFileSource * | WildcardOrSAMQuery (const std::string &str) const |
| Figure out if str is a wildcard or SAM query and return a source. More... | |
| virtual void | RemoveSpectrum (Spectrum *) |
| virtual void | RemoveReweightableSpectrum (ReweightableSpectrum *) |
| int | NFiles () const |
| Forwards to fFileSource. More... | |
| TFile * | GetNextFile () |
Protected Attributes inherited from ana::SpectrumLoaderBase | |
| std::string | fWildcard |
| std::unique_ptr< IFileSource > | fFileSource |
| DataSource | fSource |
| bool | fGone |
| Has Go() been called? Can't add more histograms after that. More... | |
| double | fPOT |
| double | fPOTFromHist |
| Accumulated by calls to GetNextFile. More... | |
| int | fNReadouts |
| IDMap< SpillCut, IDMap < SystShifts, IDMap< Cut, IDMap< Var, IDMap < VarOrMultiVar, SpectList > > > > > | fHistDefs |
| All the spectra that need to be filled. More... | |
| IDMap< SpillCut, IDMap < SpillVar, IDMap < SpillVarOrMultiVar, SpectList > > > | fSpillHistDefs |
| [spillcut][spillwei][spillvar] More... | |
Dummy loader that doesn't load any files.
Useful when a loader is required for a component you want to ignore
Definition at line 223 of file SpectrumLoaderBase.h.
|
inline |
Definition at line 226 of file SpectrumLoaderBase.h.
| ana::NullLoader::~NullLoader | ( | ) |
Definition at line 340 of file SpectrumLoaderBase.cxx.
|
inlineoverride |
Definition at line 253 of file SpectrumLoaderBase.h.
|
inlineoverride |
Definition at line 259 of file SpectrumLoaderBase.h.
|
inlineoverride |
Definition at line 230 of file SpectrumLoaderBase.h.
|
inlineoverride |
Definition at line 236 of file SpectrumLoaderBase.h.
|
inlineoverride |
Definition at line 243 of file SpectrumLoaderBase.h.
|
inlineoverride |
Definition at line 248 of file SpectrumLoaderBase.h.
|
overridevirtual |
Load all the registered spectra.
Implements ana::SpectrumLoaderBase.
Definition at line 335 of file SpectrumLoaderBase.cxx.
1.8.5