54 m_refPrescaleSet = pset.
getParameter <
int> (
"refPrescaleSet");
59 bool forceGlobalParameters = Categories.
getParameter<
bool>(
"forceGlobalParameters");
60 bool doGlobalAutoSelection = Categories.getParameter<
bool>(
"doGlobalAutoSelection");
77 if(forceGlobalParameters){
81 if(doGlobalAutoSelection){
83 if(CatMu .getParameter<bool>(
"monitor")){m_algoAutoSelect[
"Mu"] =
true;}
else{m_algoAutoSelect[
"Mu"] =
false;}
84 if(CatEG .getParameter<bool>(
"monitor")){m_algoAutoSelect[
"EG"] =
true;}
else{m_algoAutoSelect[
"EG"] =
false;}
85 if(CatIsoEG .getParameter<bool>(
"monitor")){m_algoAutoSelect[
"IsoEG"] =
true;}
else{m_algoAutoSelect[
"IsoEG"] =
false;}
86 if(CatJet .getParameter<bool>(
"monitor")){m_algoAutoSelect[
"Jet"] =
true;}
else{m_algoAutoSelect[
"Jet"] =
false;}
87 if(CatCenJet.getParameter<
bool>(
"monitor")){m_algoAutoSelect[
"CenJet"] =
true;}
else{m_algoAutoSelect[
"CenJet"] =
false;}
88 if(CatForJet.getParameter<
bool>(
"monitor")){m_algoAutoSelect[
"ForJet"] =
true;}
else{m_algoAutoSelect[
"ForJet"] =
false;}
89 if(CatTauJet.getParameter<
bool>(
"monitor")){m_algoAutoSelect[
"TauJet"] =
true;}
else{m_algoAutoSelect[
"TauJet"] =
false;}
90 if(CatETM .getParameter<bool>(
"monitor")){m_algoAutoSelect[
"ETM"] =
true;}
else{m_algoAutoSelect[
"ETM"] =
false;}
91 if(CatETT .getParameter<bool>(
"monitor")){m_algoAutoSelect[
"ETT"] =
true;}
else{m_algoAutoSelect[
"ETT"] =
false;}
92 if(CatHTM .getParameter<bool>(
"monitor")){m_algoAutoSelect[
"HTM"] =
true;}
else{m_algoAutoSelect[
"HTM"] =
false;}
93 if(CatHTT .getParameter<bool>(
"monitor")){m_algoAutoSelect[
"HTT"] =
true;}
else{m_algoAutoSelect[
"HTT"] =
false;}
99 m_algoAutoSelect[
"Mu"] =
false;
100 m_algoAutoSelect[
"EG"] =
false;
101 m_algoAutoSelect[
"IsoEG"] =
false;
102 m_algoAutoSelect[
"Jet"] =
false;
103 m_algoAutoSelect[
"CenJet"] =
false;
104 m_algoAutoSelect[
"ForJet"] =
false;
105 m_algoAutoSelect[
"TauJet"] =
false;
106 m_algoAutoSelect[
"ETM"] =
false;
107 m_algoAutoSelect[
"ETT"] =
false;
108 m_algoAutoSelect[
"HTM"] =
false;
109 m_algoAutoSelect[
"HTT"] =
false;
111 if(CatMu .getParameter<bool>(
"monitor")){m_selectedTriggers[
"Mu"] = CatMu .
getParameter<
string>(
"algo");}
112 if(CatEG .getParameter<bool>(
"monitor")){m_selectedTriggers[
"EG"] = CatEG .getParameter<
string>(
"algo");}
113 if(CatIsoEG .getParameter<bool>(
"monitor")){m_selectedTriggers[
"IsoEG"] = CatIsoEG .getParameter<
string>(
"algo");}
114 if(CatJet .getParameter<bool>(
"monitor")){m_selectedTriggers[
"Jet"] = CatJet .getParameter<
string>(
"algo");}
115 if(CatCenJet.getParameter<
bool>(
"monitor")){m_selectedTriggers[
"CenJet"] = CatCenJet.getParameter<
string>(
"algo");}
116 if(CatForJet.getParameter<
bool>(
"monitor")){m_selectedTriggers[
"CatForJet"] = CatForJet.getParameter<
string>(
"algo");}
117 if(CatTauJet.getParameter<
bool>(
"monitor")){m_selectedTriggers[
"TauJet"] = CatTauJet.getParameter<
string>(
"algo");}
118 if(CatETM .getParameter<bool>(
"monitor")){m_selectedTriggers[
"ETM"] = CatETM .getParameter<
string>(
"algo");}
119 if(CatETT .getParameter<bool>(
"monitor")){m_selectedTriggers[
"ETT"] = CatETT .getParameter<
string>(
"algo");}
120 if(CatHTM .getParameter<bool>(
"monitor")){m_selectedTriggers[
"HTM"] = CatHTM .getParameter<
string>(
"algo");}
121 if(CatHTT .getParameter<bool>(
"monitor")){m_selectedTriggers[
"HTT"] = CatHTT .getParameter<
string>(
"algo");}
128 if(CatBPTX.getParameter<
bool>(
"monitor")){
129 m_selectedTriggers[
"BPTX"] = CatBPTX.getParameter<
string>(
"algo");
132 if(CatMu.getParameter<
bool>(
"monitor")){
133 m_algoAutoSelect[
"Mu"] = CatMu.getParameter<
bool>(
"doAutoSelection");
134 if(!m_algoAutoSelect[
"Mu"]){m_selectedTriggers[
"Mu"] = CatMu.getParameter<
string>(
"algo");}
135 }
else{m_algoAutoSelect[
"Mu"] =
false;}
137 if(CatEG.getParameter<
bool>(
"monitor")){
138 m_algoAutoSelect[
"EG"] = CatEG.getParameter<
bool>(
"doAutoSelection");
139 if(!m_algoAutoSelect[
"EG"]){m_selectedTriggers[
"EG"] = CatEG.getParameter<
string>(
"algo");}
140 }
else{m_algoAutoSelect[
"EG"] =
false;}
142 if(CatIsoEG.getParameter<
bool>(
"monitor")){
143 m_algoAutoSelect[
"IsoEG"] = CatIsoEG.getParameter<
bool>(
"doAutoSelection");
144 if(!m_algoAutoSelect[
"IsoEG"]){m_selectedTriggers[
"IsoEG"] = CatIsoEG.getParameter<
string>(
"algo");}
145 }
else{m_algoAutoSelect[
"IsoEG"] =
false;}
147 if(CatJet.getParameter<
bool>(
"monitor")){
148 m_algoAutoSelect[
"Jet"] = CatJet.getParameter<
bool>(
"doAutoSelection");
149 if(!m_algoAutoSelect[
"Jet"]){m_selectedTriggers[
"Jet"] = CatJet.getParameter<
string>(
"algo");}
150 }
else{m_algoAutoSelect[
"Jet"] =
false;}
152 if(CatCenJet.getParameter<
bool>(
"monitor")){
153 m_algoAutoSelect[
"CenJet"] = CatCenJet.getParameter<
bool>(
"doAutoSelection");
154 if(!m_algoAutoSelect[
"CenJet"]){m_selectedTriggers[
"CenJet"] = CatCenJet.getParameter<
string>(
"algo");}
155 }
else{m_algoAutoSelect[
"CenJet"] =
false;}
157 if(CatForJet.getParameter<
bool>(
"monitor")){
158 m_algoAutoSelect[
"CatForJet"] = CatForJet.getParameter<
bool>(
"doAutoSelection");
159 if(!m_algoAutoSelect[
"CatForJet"]){m_selectedTriggers[
"CatForJet"] = CatForJet.getParameter<
string>(
"algo");}
160 }
else{m_algoAutoSelect[
"CatForJet"] =
false;}
162 if(CatTauJet.getParameter<
bool>(
"monitor")){
163 m_algoAutoSelect[
"TauJet"] = CatTauJet.getParameter<
bool>(
"doAutoSelection");
164 if(!m_algoAutoSelect[
"TauJet"]){m_selectedTriggers[
"TauJet"] = CatTauJet.getParameter<
string>(
"algo");}
165 }
else{m_algoAutoSelect[
"TauJet"] =
false;}
167 if(CatETM.getParameter<
bool>(
"monitor")){
168 m_algoAutoSelect[
"ETM"] = CatETM.getParameter<
bool>(
"doAutoSelection");
169 if(!m_algoAutoSelect[
"ETM"]){m_selectedTriggers[
"ETM"] = CatETM.getParameter<
string>(
"algo");}
170 }
else{m_algoAutoSelect[
"ETM"] =
false;}
172 if(CatETT.getParameter<
bool>(
"monitor")){
173 m_algoAutoSelect[
"ETT"] = CatETT.getParameter<
bool>(
"doAutoSelection");
174 if(!m_algoAutoSelect[
"ETT"]){m_selectedTriggers[
"ETT"] = CatETT.getParameter<
string>(
"algo");}
175 }
else{m_algoAutoSelect[
"ETT"] =
false;}
177 if(CatHTM.getParameter<
bool>(
"monitor")){
178 m_algoAutoSelect[
"HTM"] = CatHTM.getParameter<
bool>(
"doAutoSelection");
179 if(!m_algoAutoSelect[
"HTM"]){m_selectedTriggers[
"HTM"] = CatHTM.getParameter<
string>(
"algo");}
180 }
else{m_algoAutoSelect[
"HTM"] =
false;}
182 if(CatHTT.getParameter<
bool>(
"monitor")){
183 m_algoAutoSelect[
"HTT"] = CatHTT.getParameter<
bool>(
"doAutoSelection");
184 if(!m_algoAutoSelect[
"HTT"]){m_selectedTriggers[
"HTT"] = CatHTT.getParameter<
string>(
"algo");}
185 }
else{m_algoAutoSelect[
"HTT"] =
false;}
197 if (m_outputFile.size() != 0) {
198 std::cout <<
"L1T Monitoring histograms will be saved to " << m_outputFile.c_str() << std::endl;
202 if (disable) {m_outputFile =
"";}
204 if (dbe !=
NULL) {dbe->setCurrentFolder(
"L1T/L1TSync");}
216 if (m_verbose){
cout <<
"[L1TSync] Called beginJob." << endl;}
224 dbe->
rmdir(
"L1T/L1TSync");
233 if (m_verbose){
cout <<
"[L1TSync] Called endJob." << endl;}
235 if (m_outputFile.size() != 0 && dbe)
236 dbe->save(m_outputFile);
247 if (m_verbose){
cout <<
"[L1TSync] Called beginRun." << endl;}
255 m_certFirstLS.clear();
256 m_certLastLS .clear();
265 m_algoBit[(
algo->second).algoAlias()] = (
algo->second).algoBitNumber();
279 m_selectedTriggers = myMenuHelper.
testAlgos(m_selectedTriggers);
281 map<string,string> tAutoSelTrig = myMenuHelper.
getLUSOTrigger(m_algoAutoSelect,m_refPrescaleSet);
282 m_selectedTriggers.insert(tAutoSelTrig.begin(),tAutoSelTrig.end());
285 dbe->setCurrentFolder(
"L1T/L1TSync");
286 m_ErrorMonitor = dbe->book1D(
"ErrorMonitor",
"ErrorMonitor",7,0,7);
287 m_ErrorMonitor->setBinLabel(
UNKNOWN ,
"UNKNOWN");
288 m_ErrorMonitor->setBinLabel(WARNING_DB_CONN_FAILED ,
"WARNING_DB_CONN_FAILED");
289 m_ErrorMonitor->setBinLabel(WARNING_DB_QUERY_FAILED ,
"WARNING_DB_QUERY_FAILED");
290 m_ErrorMonitor->setBinLabel(WARNING_DB_INCORRECT_NBUNCHES,
"WARNING_DB_INCORRECT_NBUNCHES");
291 m_ErrorMonitor->setBinLabel(ERROR_UNABLE_RETRIVE_PRODUCT ,
"ERROR_UNABLE_RETRIVE_PRODUCT");
292 m_ErrorMonitor->setBinLabel(ERROR_TRIGGERALIAS_NOTVALID ,
"ERROR_TRIGGERALIAS_NOTVALID");
293 m_ErrorMonitor->setBinLabel(ERROR_LSBLOCK_NOTVALID ,
"ERROR_LSBLOCK_NOTVALID");
296 for(map<string,string>::const_iterator
i=m_selectedTriggers.begin() ;
i!=m_selectedTriggers.end() ;
i++){
298 string tCategory = (*i).first;
299 string tTrigger = (*i).second;
302 m_certFirstLS[(*i).second] = 0;
303 m_certLastLS [(*i).second] = 0;
306 dbe->setCurrentFolder(
"L1T/L1TSync/AlgoVsBunchStructure/");
307 m_algoVsBunchStructure[tTrigger] = dbe->book2D(tCategory,
"min #Delta("+tTrigger+
",Bunch)",maxNbins,-0.5,
double(maxNbins)-0.5,5,-2.5,2.5);
308 m_algoVsBunchStructure[tTrigger] ->setAxisTitle(
"Lumi Section" ,1);
310 dbe->setCurrentFolder(
"L1T/L1TSync/Certification/");
311 m_algoCertification[tTrigger] = dbe->book1D(tCategory,
"fraction of in sync: "+tTrigger,maxNbins,-0.5,
double(maxNbins)-0.5);
312 m_algoCertification[tTrigger] ->setAxisTitle(
"Lumi Section" ,1);
323 if (m_verbose){
cout <<
"[L1TSync] Called beginLuminosityBlock." << endl;}
330 cout <<
"[L1TSync] None consecutive: doFractionInSync() - LAST="
334 doFractionInSync(
true,
false);
342 for(map<string,string>::const_iterator
i=m_selectedTriggers.begin() ;
i!=m_selectedTriggers.end() ;
i++){
344 string theTriggerAlias = (*i).second;
345 if(m_certFirstLS[theTriggerAlias]==0){m_certFirstLS[theTriggerAlias] = m_currentLS;}
351 m_currentLSValid =
true;
361 if(m_verbose){
cout <<
"[L1TSync] Called endLuminosityBlock." << endl;}
364 cout <<
"[L1TSync] m_currentLSValid : " << m_currentLSValid << endl;
365 cout <<
"[L1TSync] m_beamConfig.isValid(): " << m_beamConfig.isValid() << endl;
368 for(map<string,string>::const_iterator
i=m_selectedTriggers.begin() ;
i!=m_selectedTriggers.end() ;
i++){
371 string theTriggerAlias = (*i).second;
372 m_certLastLS[theTriggerAlias] = m_currentLS;
377 if(m_currentLSValid && m_beamConfig.isValid()){
379 if(m_verbose){
cout <<
"[L1TSync] Regular call: doFractionInSync()" << endl;}
380 doFractionInSync(
false,
false);
389 for(map<string,string>::const_iterator
i=m_selectedTriggers.begin() ;
i!=m_selectedTriggers.end() ;
i++){
391 string theTriggerAlias = (*i).second;
393 int fLs = m_certFirstLS[theTriggerAlias];
394 int lLS = m_certLastLS [theTriggerAlias];
398 m_certFirstLS[theTriggerAlias] = 0;
399 m_certLastLS [theTriggerAlias] = 0;
403 m_certLastLS [theTriggerAlias] = m_currentLS-1;
407 doFractionInSync(
true,
false);
410 for(map<string,string>::const_iterator
i=m_selectedTriggers.begin() ;
i!=m_selectedTriggers.end() ;
i++){
411 string theTriggerAlias = (*i).second;
412 m_certFirstLS[theTriggerAlias] = m_currentLS;
413 m_certLastLS [theTriggerAlias] = m_currentLS;
415 doFractionInSync(
true,
true);
417 if(m_verbose){
cout <<
"[L1TSync] Error call: doFractionInSync()" << endl;}
426 if(m_verbose){
cout <<
"[L1TSync] Called endRun." << endl;}
430 doFractionInSync(
true,
false);
437 if(m_verbose){
cout <<
"[L1TSync] Called analyze." << endl;}
440 if(m_currentLSValid){
442 if(m_verbose){
cout <<
"[L1TSync] -> m_currentLSValid=" << m_currentLSValid << endl;}
446 iEvent.
getByLabel(m_l1GtEvmSource, gtEvmReadoutRecord);
449 if(gtEvmReadoutRecord.
isValid()){
451 const L1GtfeExtWord& gtfeEvmWord = gtEvmReadoutRecord->gtfeWord();
452 unsigned int lhcBeamMode = gtfeEvmWord.
beamMode();
459 if(lhcBeamMode != STABLE){m_currentLSValid =
false;}
462 int eCount = m_ErrorMonitor->getTH1()->GetBinContent(ERROR_UNABLE_RETRIVE_PRODUCT);
464 m_ErrorMonitor->getTH1()->SetBinContent(ERROR_UNABLE_RETRIVE_PRODUCT,eCount);
467 if(m_verbose){
cout <<
"[L1TSync] -> m_currentLSValid=" << m_currentLSValid << endl;}
473 if(m_currentLSValid && m_beamConfig.isValid()){
477 iEvent.
getByLabel(m_l1GtDataDaqInputTag, gtReadoutRecordData);
479 if(gtReadoutRecordData.
isValid()){
481 const vector<L1GtFdlWord>& gtFdlVectorData = gtReadoutRecordData->gtFdlVector();
484 for(map<string,string>::const_iterator
i=m_selectedTriggers.begin() ;
i!=m_selectedTriggers.end() ;
i++){
486 string tTrigger = (*i).second;
489 if(tTrigger !=
"Undefined" && tTrigger !=
"Undefined (Wrong Name)"){
491 bool beamSingleConfig =
false;
492 bool firedAlgo =
false;
496 for(
unsigned int a=0 ;
a<gtFdlVectorData.size() ;
a++){
499 if(gtFdlVectorData[
a].bxInEvent() == 0){
500 eventBx = gtFdlVectorData[
a].localBxNr();
501 if(gtFdlVectorData[
a].gtDecisionWord()[ m_algoBit[tTrigger] ]){firedAlgo =
true;}
506 if( m_beamConfig.beam1[eventBx] && !m_beamConfig.beam2[eventBx]){beamSingleConfig =
true;}
507 if(!m_beamConfig.beam1[eventBx] && m_beamConfig.beam2[eventBx]){beamSingleConfig =
true;}
513 if(firedAlgo && !beamSingleConfig){
515 int DifAlgoVsBunchStructure = 9999;
517 for(
unsigned int a=0 ;
a<gtFdlVectorData.size() ;
a++){
519 int bxFDL = gtFdlVectorData[
a].localBxNr();
520 int bxInEvent = gtFdlVectorData[
a].bxInEvent();
522 if(m_beamConfig.bxConfig(bxFDL) &&
abs(bxInEvent)<
abs(DifAlgoVsBunchStructure)){
523 DifAlgoVsBunchStructure = -1*bxInEvent;
527 m_algoVsBunchStructure[tTrigger]->Fill(m_currentLS,DifAlgoVsBunchStructure);
534 int eCount = m_ErrorMonitor->getTH1()->GetBinContent(ERROR_UNABLE_RETRIVE_PRODUCT);
536 m_ErrorMonitor->getTH1()->SetBinContent(ERROR_UNABLE_RETRIVE_PRODUCT,eCount);
550 string oracleDB = m_parameters.getParameter<
string>(
"oracleDB");
551 string pathCondDB = m_parameters.getParameter<
string>(
"pathCondDB");
556 myOMDSHelper.connect(oracleDB,pathCondDB,conError);
561 m_beamConfig = myOMDSHelper.getBeamConfiguration(m_lhcFill,errorRetrive);
564 int eCount = m_ErrorMonitor->getTH1()->GetBinContent(WARNING_DB_INCORRECT_NBUNCHES);
566 m_ErrorMonitor->getTH1()->SetBinContent(WARNING_DB_INCORRECT_NBUNCHES,eCount);
569 int eCount = m_ErrorMonitor->getTH1()->GetBinContent(WARNING_DB_QUERY_FAILED);
571 m_ErrorMonitor->getTH1()->SetBinContent(WARNING_DB_QUERY_FAILED,eCount);
574 int eCount = m_ErrorMonitor->getTH1()->GetBinContent(
UNKNOWN);
576 m_ErrorMonitor->getTH1()->SetBinContent(
UNKNOWN,eCount);
582 int eCount = m_ErrorMonitor->getTH1()->GetBinContent(WARNING_DB_CONN_FAILED);
584 m_ErrorMonitor->getTH1()->SetBinContent(WARNING_DB_CONN_FAILED,eCount);
586 int eCount = m_ErrorMonitor->getTH1()->GetBinContent(
UNKNOWN);
588 m_ErrorMonitor->getTH1()->SetBinContent(
UNKNOWN,eCount);
606 for(map<string,string>::const_iterator
i=m_selectedTriggers.begin() ;
i!=m_selectedTriggers.end() ;
i++){
608 string theCategory = (*i).first;
609 string theTriggerAlias = (*i).second;
612 unsigned int fLS = m_certFirstLS[theTriggerAlias];
613 unsigned int lLS = m_certLastLS [theTriggerAlias];
616 bool triggerAlias_isValid = theTriggerAlias !=
"Undefined" && theTriggerAlias !=
"Undefined (Wrong Name)";
617 bool lsBlock_exists = !(fLS == 0 && lLS == 0);
618 bool lsBlock_isValid = fLS <= lLS && fLS > 0 && lLS > 0;
620 if(triggerAlias_isValid && lsBlock_exists && lsBlock_isValid){
624 certifyLSBlock(theTriggerAlias,fLS,lLS,-1);
625 m_certFirstLS[theTriggerAlias] = 0;
626 m_certLastLS [theTriggerAlias] = 0;
633 double CountSync = 0;
637 for(
unsigned int ls=fLS ;
ls<=lLS ;
ls++){
639 CountSync += m_algoVsBunchStructure[theTriggerAlias]->getBinContent(
ls+1,3);
640 for(
int a=1 ;
a<6 ;
a++){
641 CountAll += m_algoVsBunchStructure[theTriggerAlias]->getBinContent(
ls+1,
a);
646 cout <<
"Alias = " << theTriggerAlias
649 <<
" Events=" << CountAll ;
653 CountAll >= m_parameters.getParameter<
ParameterSet>(
"Categories")
657 if(m_verbose){
cout <<
" <--------------- Enough Statistics: ";}
662 if(CountAll >0){fraction = CountSync/CountAll;}
666 if(fraction==0){fraction=0.000001;}
668 certifyLSBlock(theTriggerAlias,fLS,lLS,fraction);
669 m_certFirstLS[theTriggerAlias] = 0;
670 m_certLastLS [theTriggerAlias] = 0;
673 if(m_verbose){
cout << endl;}
682 if(!triggerAlias_isValid){
683 int eCount = m_ErrorMonitor->getTH1()->GetBinContent(ERROR_TRIGGERALIAS_NOTVALID);
685 m_ErrorMonitor->getTH1()->SetBinContent(ERROR_TRIGGERALIAS_NOTVALID,eCount);
686 certifyLSBlock(theTriggerAlias,fLS,lLS,-1);
687 m_certFirstLS[theTriggerAlias] = 0;
688 m_certLastLS [theTriggerAlias] = 0;
692 if(lsBlock_exists && !lsBlock_isValid){
693 int eCount = m_ErrorMonitor->getTH1()->GetBinContent(ERROR_LSBLOCK_NOTVALID);
695 m_ErrorMonitor->getTH1()->SetBinContent(ERROR_LSBLOCK_NOTVALID,eCount);
696 certifyLSBlock(theTriggerAlias,fLS,lLS,-1);
697 m_certFirstLS[theTriggerAlias] = 0;
698 m_certLastLS [theTriggerAlias] = 0;
718 int binInit = m_algoCertification[iTrigger]->getTH1()->FindBin(iInitLs);
719 int binEnd = m_algoCertification[iTrigger]->getTH1()->FindBin(iEndLs);
721 for(
int ls=binInit ;
ls<=binEnd ;
ls++){
722 m_algoCertification[iTrigger]->setBinContent(
ls,iValue);
LuminosityBlockID id() const
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void rmdir(const std::string &fullpath)
void doFractionInSync(bool iForce=false, bool iBad=false)
0: Unidentified isolated particle
L1TSync(const edm::ParameterSet &ps)
DEFINE_FWK_MODULE(HiMixingModule)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
void analyze(const edm::Event &e, const edm::EventSetup &c)
void certifyLSBlock(std::string iTrigger, int iInitLs, int iEndLs, float iValue)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual void endLuminosityBlock(edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c)
const cms_uint32_t lhcFillNumber() const
T const * product() const
LuminosityBlockNumber_t luminosityBlock() const
void endRun(const edm::Run &run, const edm::EventSetup &iSetup)
void beginRun(const edm::Run &run, const edm::EventSetup &iSetup)
BeginRun.
const cms_uint16_t beamMode() const
void setCurrentFolder(const std::string &fullpath)