31 virtual void Go()
override;
virtual void StoreExposures()
Save accumulated exposures into the individual spectra.
virtual ~SpectrumLoader()
int max_entries
All unique cuts contained in fHistDefs.
SpectrumLoader(const std::string &wildcard, DataSource src=kBeam, int max=0)
process_name opflashCryoW ana
SpectrumLoader & operator=(SpectrumLoader &&)=default
DataSource
Is this data-file representing beam spills or cosmic spills?
caf::Proxy< caf::StandardRecord > SRSpillProxy
virtual void HandleRecord(caf::SRSpillProxy *sr)
virtual void Go() override
Load all the registered spectra.
static SpectrumLoader FromSAMProject(const std::string &proj, DataSource src=kBeam, int fileLimit=-1)
Named constructor for SAM projects.
Base class for the various types of spectrum loader.
Collaborates with Spectrum and OscillatableSpectrum to fill spectra from CAF files.
A simple ascii-art progress bar.
virtual void HandleFile(TFile *f, Progress *prog=0)