|
ATLAS Offline Software
|
Go to the documentation of this file.
29 cout <<
"Processing " <<
fChain->GetEntries() <<
" entries" << endl;
30 for (
long long i = 0;
i <
fChain->GetEntries();
i++) {
31 if (
i % 500 == 0) cout <<
"Processing Entry " <<
i << endl;
49 cout <<
"ERROR: skipping cell with offline ID = " << (*cc_sel_IdCells)[j] << endl;
68 templateInfo->
iEta(), templateInfo->
iPhi(),
70 nullptr,
nullptr,
nullptr, templateInfo->
position(), templateInfo->
onlid());
77 std::vector<short> samples;
78 if (digitIndex >= 0) {
80 std::vector<int> intSamples = (*lardigit_Samples)[digitIndex];
81 for (
int s : intSamples) {
82 samples.push_back((
short)
s);
104 cout <<
"Making online->hash map" << endl;
105 std::map<unsigned long long, unsigned int> on2hash;
109 on2hash[
info->onlid()] =
i;
112 cout <<
"Making offlineID->hash map" << endl;
114 translator->
Tree()->GetEntry(
i);
char data[hepevt_bytes_allocation_ATLAS]
void setRunData(const RunData *runData)
bool initMapping(const TString &templateFile, const TString &translatorFile)
UInt_t RunNumber
current Tree number in a TChain
short feedThrough() const
vector< unsigned int > * lardigit_offlineId
unsigned int addEvent(EventData *eventData)
virtual const CellInfo * cellInfo(unsigned int i) const
TGraphErrors * GetEntries(TH2F *histo)
vector< float > * cc_sel_Sigma
vector< int > * lardigit_gain
bool makeSamplesTuple(const TString &outputFileName)
HistoryContainer *& hist_cont(unsigned int i)
vector< int > * cc_sel_QCells
TVector3 position() const
InDet::SiSpacePointsSeedMakerEventData EventData
CellInfo * cell_info() const
vector< int > * cc_sel_DetCells
vector< float > * cc_sel_E
vector< float > * cc_sel_TimeCells
static Interface * open(const TString &fileName)
vector< unsigned int > * cc_sel_IdCells
storage of the time histories of all the cells
unsigned int addRun(RunData *eventData)
void add(const DataContainer *data)
append data (takes ownership)
vector< int > * cc_sel_BadCells
virtual unsigned int nChannels() const
std::map< unsigned int, unsigned int > m_id2hash
bool writeTrees(const char *fileName)
HistoryContainer * makeNewHistory(const IdentifierHash &hash, CellInfo *info)
append data (takes ownership of everything)
thread_local event_number_t eventIndex