49 return m_bx.at(realIdx);
53 return m_bx.begin()+lumialgotype*
BXMAX;
65 return m_hlt.size()>0;
77 return m_trigger.size()>0;
81 return m_trigger.begin();
85 return m_trigger.end();
97 m_versionid=versionid;
101 m_sectionid=sectionid;
109 m_quality=lumiquality;
121 m_startorbit=orbtnumber;
129 std::copy(hltdetail.begin(),hltdetail.end(),std::back_inserter(m_hlt));
133 std::copy(triggerinfo.begin(),triggerinfo.end(),std::back_inserter(m_trigger));
137 m_quality=qualityflag;
141 s<<
"lumi section id :"<<m_sectionid <<
", ";
142 s<<
"lumi data version : "<<m_versionid<<
", ";
143 s<<
"lumi average : "<<m_lumiavg<<
", ";
144 s<<
"lumi error : "<<m_lumierror<<
", ";
145 s<<
"lumi quality : "<<m_quality<<
", ";
146 s<<
"lumi deadfrac : "<<m_deadfrac<<std::endl;
147 std::vector<lumi::TriggerInfo>::const_iterator trgit;
148 std::vector<lumi::TriggerInfo>::const_iterator trgitBeg=m_trigger.begin();
149 std::vector<lumi::TriggerInfo>::const_iterator trgitEnd=m_trigger.end();
151 for(trgit=trgitBeg;trgit!=trgitEnd;++trgit){
152 std::cout<<
" trg "<<i<<
" : name : "<<trgit->name<<
" : count : "<<trgit->triggercount<<
" : deadtime : "<< trgit->deadtimecount<<
" : prescale : "<<trgit->prescale<<std::endl;
std::vector< TriggerInfo >::const_iterator TriggerIterator
void setLumiQuality(int lumiquality)
unsigned long long startorbit() const
void setLumiAverage(float lumiavg)
std::vector< BunchCrossingInfo >::const_iterator BunchCrossingIterator
TriggerIterator trgEnd() const
void setBunchCrossingData(const std::vector< BunchCrossingInfo > &BXs, const LumiAlgoType algotype)
void setQualityFlag(short qualityflag)
std::string lumiVersion() const
float lumiAverage() const
BunchCrossingIterator bunchCrossingEnd(const LumiAlgoType lumialgotype) const
HLTIterator hltEnd() const
HLTIterator hltBegin() const
float deadFraction() const
void bunchCrossingInfo(const LumiAlgoType lumialgotype, std::vector< BunchCrossingInfo > &result) const
static const int LUMIALGOMAX
TriggerIterator trgBegin() const
void setStartOrbit(unsigned long long orbtnumber)
unsigned int offset(bool)
size_t nBunchCrossing() const
std::vector< BunchCrossingInfo > m_bx
std::vector< HLTInfo >::const_iterator HLTIterator
short qualityFlag() const
void setTriggerData(const std::vector< TriggerInfo > &triggerinfo)
bool TriggerhasData() const
void print(std::ostream &s) const
void setLumiSectionId(int sectionid)
void setLumiError(float lumierr)
int lumisectionID() const
BunchCrossingIterator bunchCrossingBegin(const LumiAlgoType lumialgotype) const
void setHLTData(const std::vector< HLTInfo > &hltdetail)
void setLumiVersion(const std::string &versionid)
void setDeadFraction(float deadfrac)