|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #ifndef LArSamples_PersistentAccessor_H
11 #define LArSamples_PersistentAccessor_H
39 unsigned int historySize(
unsigned int i)
const;
43 const TTree&
cellTree()
const {
return *m_cellTree; }
44 const TTree&
eventTree()
const {
return *m_eventTree; }
45 const TTree&
runTree()
const {
return *m_runTree; }
52 unsigned int nEvents()
const {
return m_eventTree->GetEntries(); }
53 const EventData* eventData(
unsigned int i)
const;
55 unsigned int nRuns()
const {
return m_runTree->GetEntries(); }
56 const RunData* runData(
unsigned int i)
const;
76 mutable std::map<unsigned int, const RunData*>
m_runCache;
HistoryContainer * currentContainer() const
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
const TTree & runTree() const
std::unique_ptr< TFile > m_file
description: this is a custom writer for the old-school drivers that don't use an actual writer
def save(self, fileName="./columbo.out")
unsigned int nEvents() const
bool add(const std::string &hname, TKey *tobj)
HistoryContainer * m_historyCont
int getCellEntry(unsigned int i) const
unsigned int nRuns() const
const TTree & cellTree() const
PersistentAccessor(const PersistentAccessor &)
def merge(input_file_pattern, output_file)
Merge many input LHE files into a single output file.
const TTree & eventTree() const
std::map< unsigned int, const RunData * > m_runCache