Loading [MathJax]/extensions/tex2jax.js
 |
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;
40 unsigned int historySizeSC(
unsigned int i)
const;
44 const TTree&
cellTree()
const {
return *m_cellTree; }
45 const TTree&
SCTree()
const {
return *m_SCTree; }
46 const TTree&
eventTree()
const {
return *m_eventTree; }
47 const TTree&
runTree()
const {
return *m_runTree; }
55 unsigned int nEvents()
const {
return m_eventTree->GetEntries(); }
56 const EventData* eventData(
unsigned int i)
const;
58 unsigned int nRuns()
const {
return m_runTree->GetEntries(); }
59 const RunData* runData(
unsigned int i)
const;
73 int getSCEntry(
unsigned int i)
const {
return m_SCTree->GetEntry(
i); }
77 TTree* m_cellTree, *
m_SCTree, *m_eventTree, *m_runTree;
83 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
AccessorTemplate & operator=(AccessorTemplate &&that)
const TTree & runTree() const
const TTree & SCTree() 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
HistoryContainer * m_historyContSC
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 &)
HistoryContainer * currentContainerSC() const
int getSCEntry(unsigned int i) const
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