10#ifndef LArSamples_TreeAccessor_H
11#define LArSamples_TreeAccessor_H
42 static std::unique_ptr<TreeAccessor> open(
const TString& fileName);
46 static std::unique_ptr<TreeAccessor>
merge(
const std::vector<const Accessor*>& accessors,
const TString& fileName =
"");
47 static std::unique_ptr<TreeAccessor>
merge(
const std::vector<const Accessor*>& accessors,
const TString& fileName,
const TString& LBFile);
48 static std::unique_ptr<TreeAccessor>
51 const TString& fileName,
const DataTweaker& tweaker);
53 static std::vector<std::unique_ptr<TreeAccessor> >
75 const History* getCellHistory(
unsigned int i)
const;
76 const History* getSCHistory(
unsigned int i)
const;
77 const CellInfo* getCellInfo(
unsigned int i)
const;
78 const CellInfo* getSCInfo(
unsigned int i)
const;
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
virtual void resetCache() const
A base class for accessing ntuple data.
const RunData * runData(unsigned int i) const
const TTree & cellTree() const
unsigned int nRuns() const
unsigned int historySizeSC(unsigned int i) const
const TTree & eventTree() const
void add(HistoryContainer *cont)
unsigned int historySize(unsigned int i) const
unsigned int nEvents() const
const TTree & runTree() const
PersistentAccessor(TTree &cellTree, TTree &SCTree, TTree &eventTree, TTree *runTree, TFile *file)
Constructor.
const EventData * eventData(unsigned int i) const
const EventData * eventData(unsigned int i) const
bool writeToFile(const TString &fileName) const
unsigned int historySize(unsigned int i) const
TreeAccessor(TTree &cellTree, TTree &scTree, TTree &eventTree, TTree *runTree, TFile *file)
Constructor.
const RunData * runData(unsigned int i) const
static std::unique_ptr< TreeAccessor > makeTemplate(const Accessor &accessor, const TString &fileName)
unsigned int nEvents() const
void add(HistoryContainer *cont)
unsigned int nRuns() const
unsigned int historySizeSC(unsigned int i) const
TreeAccessor(const TString &fileName)