|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef LArSamples_EventData_H
12 #define LArSamples_EventData_H
23 RoIPosition(
float e = -999,
float p = -999,
const char*
n =
"",
const char*
l =
"")
44 int event()
const {
return m_eventData[0]; }
47 unsigned int lumiBlock()
const {
return m_eventData[2]; }
50 unsigned int bunchId()
const {
return m_eventData[3]; }
53 int runIndex()
const {
return m_eventData[1]; }
60 unsigned int triggerWord(
unsigned int i)
const;
61 unsigned int l1Word(
unsigned int i)
const {
return triggerWord(
i); }
63 unsigned int nRoIs()
const {
return m_rois.size(); }
66 std::vector<unsigned int> triggerData()
const;
68 bool isPassed(
const TString& bitName)
const;
70 double footprint()
const {
return sizeof(*this) + m_eventData.size()*
sizeof(
unsigned int); }
72 void setTriggerData(
const std::vector<unsigned int>&
words);
78 bool bit(
unsigned int pos)
const;
83 void drawDRRoIs(
double roISize = 0.1)
const;
84 void drawBoxRoIs(
double etaSize = 0.2,
double phiSize = 0.2)
const;
87 static void drawBoxRoI(
double eta,
double phi,
double etaSize = 0.2,
double phiSize = 0.2);
unsigned int nTriggerWords() const
unsigned int l1Word(unsigned int i) const
void setRunData(const RunData *runData)
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
const RunData * m_runData
int run(int argc, char *argv[])
void addRoI(float eta, float phi, const char *name="", const char *label="")
RoIPosition roI(unsigned int i) const
unsigned int nRoIs() const
unsigned int bunchId() const
std::vector< unsigned int > m_eventData
POOL::TEvent event(POOL::TEvent::kClassAccess)
void setRunIndex(int idx)
InDet::SiSpacePointsSeedMakerEventData EventData
std::vector< RoIPosition > m_rois
unsigned int lumiBlock() const
RoIPosition(float e=-999, float p=-999, const char *n="", const char *l="")
Define macros for attributes used to control the static checker.
std::string description
glabal timer - how long have I taken so far?
const RunData * runData() const