Skip to content

Commit

Permalink
Merge pull request #37084 from mmusich/migrateGenericTriggerEventFlag
Browse files Browse the repository at this point in the history
migration to `DCSRecord` of `GenericTriggerEventFlag`
  • Loading branch information
cmsbuild authored Mar 3, 2022
2 parents 9ecd969 + 6d1d3d8 commit 4456728
Show file tree
Hide file tree
Showing 32 changed files with 144 additions and 13 deletions.
1 change: 1 addition & 0 deletions CommonTools/TriggerUtils/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<use name="CondFormats/DataRecord"/>
<use name="CondFormats/L1TObjects"/>
<use name="DataFormats/Common"/>
<use name="DataFormats/OnlineMetaData"/>
<use name="DataFormats/Scalers"/>
<use name="DataFormats/L1GlobalTrigger"/>
<use name="FWCore/Framework"/>
Expand Down
8 changes: 7 additions & 1 deletion CommonTools/TriggerUtils/interface/GenericTriggerEventFlag.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerEvmReadoutRecord.h"
#include "DataFormats/Scalers/interface/DcsStatus.h"
#include "DataFormats/OnlineMetaData/interface/DCSRecord.h"
#include "L1Trigger/GlobalTriggerAnalyzer/interface/L1GtUtils.h"
#include "L1Trigger/L1TGlobal/interface/L1TGlobalUtil.h"
#include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
Expand All @@ -55,7 +56,9 @@ class GenericTriggerEventFlag {
unsigned verbose_;
bool andOrDcs_;
edm::InputTag dcsInputTag_;
edm::InputTag dcsRecordInputTag_;
edm::EDGetTokenT<DcsStatusCollection> dcsInputToken_;
edm::EDGetTokenT<DCSRecord> dcsRecordToken_;
std::vector<int> dcsPartitions_;
bool errorReplyDcs_;
bool andOrGt_;
Expand Down Expand Up @@ -148,7 +151,10 @@ class GenericTriggerEventFlag {

// DCS
bool acceptDcs(const edm::Event& event);
bool acceptDcsPartition(const edm::Handle<DcsStatusCollection>& dcsStatus, int dcsPartition) const;
bool acceptDcsPartition(const edm::Handle<DcsStatusCollection>& dcsStatus,
const edm::Handle<DCSRecord>& dcsRecord,
bool useDCSRecord,
int dcsPartition) const;

// GT status bits
bool acceptGt(const edm::Event& event);
Expand Down
110 changes: 98 additions & 12 deletions CommonTools/TriggerUtils/src/GenericTriggerEventFlag.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ GenericTriggerEventFlag::GenericTriggerEventFlag(const edm::ParameterSet& config
andOrDcs_ = config.getParameter<bool>("andOrDcs");
dcsInputTag_ = config.getParameter<edm::InputTag>("dcsInputTag");
dcsInputToken_ = iC.mayConsume<DcsStatusCollection>(dcsInputTag_);
dcsRecordInputTag_ = config.getParameter<edm::InputTag>("dcsRecordInputTag");
dcsRecordToken_ = iC.mayConsume<DCSRecord>(dcsRecordInputTag_);
dcsPartitions_ = config.getParameter<std::vector<int>>("dcsPartitions");
errorReplyDcs_ = config.getParameter<bool>("errorReplyDcs");
} else {
Expand Down Expand Up @@ -278,71 +280,144 @@ bool GenericTriggerEventFlag::acceptDcs(const edm::Event& event) {
if (!onDcs_ || dcsPartitions_.empty())
return (!andOr_); // logically neutral, depending on base logical connective

bool useDCSRecord(false);

// Accessing the DcsStatusCollection
edm::Handle<DcsStatusCollection> dcsStatus;
event.getByToken(dcsInputToken_, dcsStatus);
if (!dcsStatus.isValid()) {

edm::Handle<DCSRecord> dcsRecord;
event.getByToken(dcsRecordToken_, dcsRecord);

// none of the DCS products is valid
if (!dcsStatus.isValid() && !dcsRecord.isValid()) {
if (verbose_ > 1)
edm::LogWarning("GenericTriggerEventFlag")
<< "DcsStatusCollection product with InputTag \"" << dcsInputTag_.encode()
<< "\" not in event ==> decision: " << errorReplyDcs_;
<< "DcsStatusCollection product with InputTag \"" << dcsInputTag_.encode() << "\" not in event \n"
<< "DCSRecord product with InputTag \"" << dcsRecordInputTag_.encode() << "\" not in event \n"
<< " ==> decision: " << errorReplyDcs_;
return errorReplyDcs_;
}
if ((*dcsStatus).empty()) {
if (verbose_ > 1)
edm::LogWarning("GenericTriggerEventFlag")
<< "DcsStatusCollection product with InputTag \"" << dcsInputTag_.encode()
<< "\" empty ==> decision: " << errorReplyDcs_;
return errorReplyDcs_;
if (dcsStatus.isValid() && (*dcsStatus).empty()) {
if (event.eventAuxiliary().isRealData()) {
// this is the Data case for >= Run3, DCSStatus is available (unpacked), but empty
// becasue SCAL is not in data-taking. In this case we fall back to s/w FED 1022
if (dcsRecord.isValid()) {
useDCSRecord = true;
} else {
if (verbose_ > 1)
edm::LogWarning("GenericTriggerEventFlag")
<< "DCSRecord product with InputTag \"" << dcsRecordInputTag_.encode()
<< "\" empty ==> decision: " << errorReplyDcs_;
return errorReplyDcs_;
}
} else {
// this is the case in which the DCS status is empty, but it's not real data.
if (verbose_ > 1)
edm::LogWarning("GenericTriggerEventFlag")
<< "DcsStatusCollection product with InputTag \"" << dcsInputTag_.encode()
<< "\" empty ==> decision: " << errorReplyDcs_;
return errorReplyDcs_;
}
}

// Determine decision of DCS partition combination and return
if (andOrDcs_) { // OR combination
for (std::vector<int>::const_iterator partitionNumber = dcsPartitions_.begin();
partitionNumber != dcsPartitions_.end();
++partitionNumber) {
if (acceptDcsPartition(dcsStatus, *partitionNumber))
if (acceptDcsPartition(dcsStatus, dcsRecord, useDCSRecord, *partitionNumber))
return true;
}
return false;
}
for (std::vector<int>::const_iterator partitionNumber = dcsPartitions_.begin();
partitionNumber != dcsPartitions_.end();
++partitionNumber) {
if (!acceptDcsPartition(dcsStatus, *partitionNumber))
if (!acceptDcsPartition(dcsStatus, dcsRecord, useDCSRecord, *partitionNumber))
return false;
}
return true;
}

bool GenericTriggerEventFlag::acceptDcsPartition(const edm::Handle<DcsStatusCollection>& dcsStatus,
const edm::Handle<DCSRecord>& dcsRecord,
bool useDCSRecord,
int dcsPartition) const {
int theDCSRecordPartition;
// Error checks
switch (dcsPartition) {
case DcsStatus::EBp:
theDCSRecordPartition = DCSRecord::EBp;
break;
case DcsStatus::EBm:
theDCSRecordPartition = DCSRecord::EBm;
break;
case DcsStatus::EEp:
theDCSRecordPartition = DCSRecord::EEp;
break;
case DcsStatus::EEm:
theDCSRecordPartition = DCSRecord::EBm;
break;
case DcsStatus::HBHEa:
theDCSRecordPartition = DCSRecord::HBHEa;
break;
case DcsStatus::HBHEb:
theDCSRecordPartition = DCSRecord::HBHEb;
break;
case DcsStatus::HBHEc:
theDCSRecordPartition = DCSRecord::HBHEc;
break;
case DcsStatus::HF:
theDCSRecordPartition = DCSRecord::HF;
break;
case DcsStatus::HO:
theDCSRecordPartition = DCSRecord::HO;
break;
case DcsStatus::RPC:
theDCSRecordPartition = DCSRecord::RPC;
break;
case DcsStatus::DT0:
theDCSRecordPartition = DCSRecord::DT0;
break;
case DcsStatus::DTp:
theDCSRecordPartition = DCSRecord::DTp;
break;
case DcsStatus::DTm:
theDCSRecordPartition = DCSRecord::DTm;
break;
case DcsStatus::CSCp:
theDCSRecordPartition = DCSRecord::CSCp;
break;
case DcsStatus::CSCm:
theDCSRecordPartition = DCSRecord::CSCm;
break;
case DcsStatus::CASTOR:
theDCSRecordPartition = DCSRecord::CASTOR;
break;
case DcsStatus::TIBTID:
theDCSRecordPartition = DCSRecord::TIBTID;
break;
case DcsStatus::TOB:
theDCSRecordPartition = DCSRecord::TOB;
break;
case DcsStatus::TECp:
theDCSRecordPartition = DCSRecord::TECp;
break;
case DcsStatus::TECm:
theDCSRecordPartition = DCSRecord::TECm;
break;
case DcsStatus::BPIX:
theDCSRecordPartition = DCSRecord::BPIX;
break;
case DcsStatus::FPIX:
theDCSRecordPartition = DCSRecord::FPIX;
break;
case DcsStatus::ESp:
theDCSRecordPartition = DCSRecord::ESp;
break;
case DcsStatus::ESm:
theDCSRecordPartition = DCSRecord::ESm;
break;
default:
if (verbose_ > 1)
Expand All @@ -352,7 +427,17 @@ bool GenericTriggerEventFlag::acceptDcsPartition(const edm::Handle<DcsStatusColl
}

// Determine decision
return dcsStatus->at(0).ready(dcsPartition);
if (!useDCSRecord) {
return dcsStatus->at(0).ready(dcsPartition);
} else {
if (verbose_ > 2) {
LogDebug("GenericTriggerEventFlag")
<< "using dcs record, dcsPartition:" << dcsPartition << " " << theDCSRecordPartition << " "
<< (*dcsRecord).partitionName(theDCSRecordPartition) << " "
<< (*dcsRecord).highVoltageReady(theDCSRecordPartition) << std::endl;
}
return (*dcsRecord).highVoltageReady(theDCSRecordPartition);
}
}

/// Does this event fulfill the configured GT status logical expression combination?
Expand Down Expand Up @@ -783,6 +868,7 @@ void GenericTriggerEventFlag::fillPSetDescription(edm::ParameterSetDescription&
desc.add<bool>("l1BeforeMask", false);
desc.add<bool>("stage2", false);
desc.add<edm::InputTag>("dcsInputTag", edm::InputTag("scalersRawToDigi"));
desc.add<edm::InputTag>("dcsRecordInputTag", edm::InputTag("onlineMetaDataDigis"));
desc.add<edm::InputTag>("hltInputTag", edm::InputTag("TriggerResults::HLT"));
desc.add<edm::InputTag>("l1tAlgBlkInputTag", edm::InputTag("gtStage2Digis"));
desc.add<edm::InputTag>("l1tExtBlkInputTag", edm::InputTag("gtStage2Digis"));
Expand Down
1 change: 1 addition & 0 deletions DQM/HLTEvF/python/HLTSiStripMonitoring_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@
andOr = cms.bool( False ),
### DCS selection
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag( "onlineMetaDataDigis" ),
dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
Expand Down
1 change: 1 addition & 0 deletions DQM/SiPixelPhase1Common/python/TriggerEventFlag_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
PixelDCSfilter = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag ( "onlineMetaDataDigis" ),
dcsPartitions = cms.vint32 ( 28, 29),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@
SiStripMonitorCluster.PixelDCSfilter = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag( "onlineMetaDataDigis" ),
dcsPartitions = cms.vint32 ( 28, 29),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
)
SiStripMonitorCluster.StripDCSfilter = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag( "onlineMetaDataDigis" ),
dcsPartitions = cms.vint32 ( 24, 25, 26, 27 ),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
Expand Down
2 changes: 2 additions & 0 deletions DQM/SiStripMonitorCluster/python/SiStripMonitorCluster_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@
PixelDCSfilter = cms.PSet(
andOr = cms.bool(False),
dcsInputTag = cms.InputTag("scalersRawToDigi"),
dcsRecordInputTag = cms.InputTag( "onlineMetaDataDigis" ),
dcsPartitions = cms.vint32(28, 29),
andOrDcs = cms.bool(False),
errorReplyDcs = cms.bool(True)
),
StripDCSfilter = cms.PSet(
andOr = cms.bool(False),
dcsInputTag = cms.InputTag("scalersRawToDigi"),
dcsRecordInputTag = cms.InputTag( "onlineMetaDataDigis" ),
dcsPartitions = cms.vint32(24, 25, 26, 27),
andOrDcs = cms.bool(False),
errorReplyDcs = cms.bool(True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,23 @@
genericTriggerEventFlag4fullTracker = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis"),
dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
)
genericTriggerEventFlag4onlyStrip = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis"),
dcsPartitions = cms.vint32 ( 24, 25, 26, 27 ),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
)
genericTriggerEventFlag4fullTrackerAndHLTdb = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis"),
dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
Expand All @@ -32,6 +35,7 @@
genericTriggerEventFlag4fullTrackerAndHLTnoHIPnoOOTdb = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis"),
dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
Expand All @@ -47,6 +51,7 @@
genericTriggerEventFlag4fullTrackerAndHLTHIPnoOOTdb = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis"),
dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
Expand All @@ -62,6 +67,7 @@
genericTriggerEventFlag4fullTrackerAndHLTHIPOOTdb = cms.PSet(
andOr = cms.bool( False ),
dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis"),
dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ),
andOrDcs = cms.bool( False ),
errorReplyDcs = cms.bool( True ),
Expand Down
1 change: 1 addition & 0 deletions DQMOffline/JetMET/python/jetMETDQMCleanup_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
andOr = cms.bool( False ),
#dbLabel = cms.string( 'jetmet_trigsel' ), # will be discussed below (DB)
#dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
#dcsRecordInputTag = cms.InputTag ( "onlineMetaDataDigis" ),
#dcsPartitions = cms.vint32( 24, 25, 26, 27 ),
#andOrDcs = cms.bool( False ),
#errorReplyDcs = cms.bool( False ),
Expand Down
1 change: 1 addition & 0 deletions DQMOffline/Trigger/interface/HLTDQMTagAndProbeEff.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ edm::ParameterSetDescription HLTDQMTagAndProbeEff<TagType, TagCollType, ProbeTyp
trigEvtFlagDesc.add<unsigned int>("verbosityLevel", 1);
trigEvtFlagDesc.add<bool>("andOrDcs", false);
trigEvtFlagDesc.add<edm::InputTag>("dcsInputTag", edm::InputTag("scalersRawToDigi"));
trigEvtFlagDesc.add<edm::InputTag>("dcsRecordInputTag", edm::InputTag("onlineMetaDataDigis"));
trigEvtFlagDesc.add<std::vector<int> >("dcsPartitions", {24, 25, 26, 27, 28, 29});
trigEvtFlagDesc.add<bool>("errorReplyDcs", true);
trigEvtFlagDesc.add<std::string>("dbLabel", "");
Expand Down
1 change: 1 addition & 0 deletions DQMOffline/Trigger/python/BPHMonitor_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
hltBPHmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
hltBPHmonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
#hltBPHmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
#hltBPHmonitoring.denGenericTriggerEventPSet.dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis")
hltBPHmonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
hltBPHmonitoring.denGenericTriggerEventPSet.hltPaths = cms.vstring( "HLT_Mu7p5_Track2_Jpsi_v*" )#reference
#hltBPHmonitoring.denGenericTriggerEventPSet.l1Algorithms = cms.vstring("L1_DoubleMu0_SQ") # HLT_ZeroBias_v*
Expand Down
1 change: 1 addition & 0 deletions DQMOffline/Trigger/python/BTaggingMonitor_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
hltBTVmonitoring.denGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
hltBTVmonitoring.denGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
hltBTVmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
hltBTVmonitoring.denGenericTriggerEventPSet.dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis")
hltBTVmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
hltBTVmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
hltBTVmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
Expand Down
1 change: 1 addition & 0 deletions DQMOffline/Trigger/python/DiDispStaMuonMonitor_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
hltDiDispStaMuonMonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
hltDiDispStaMuonMonitoring.denGenericTriggerEventPSet.andOrHlt = cms.bool(True)# True:=OR; False:=AND
hltDiDispStaMuonMonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
hltDiDispStaMuonMonitoring.denGenericTriggerEventPSet.dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis")
hltDiDispStaMuonMonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
hltDiDispStaMuonMonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
hltDiDispStaMuonMonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
Expand Down
1 change: 1 addition & 0 deletions DQMOffline/Trigger/python/DiJetMonitor_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

DiPFjetAve40_Prommonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
DiPFjetAve40_Prommonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
DiPFjetAve40_Prommonitoring.denGenericTriggerEventPSet.dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis")
DiPFjetAve40_Prommonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
DiPFjetAve40_Prommonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
DiPFjetAve40_Prommonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
Expand Down
1 change: 1 addition & 0 deletions DQMOffline/Trigger/python/HTMonitor_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

hltHTmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
hltHTmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
hltHTmonitoring.denGenericTriggerEventPSet.dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis")
hltHTmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
hltHTmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
hltHTmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
Expand Down
1 change: 1 addition & 0 deletions DQMOffline/Trigger/python/HiggsMonitoring_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
hltHIGmonitoring.numGenericTriggerEventPSet.hltInputTag = cms.InputTag( "TriggerResults::HLT" )
hltHIGmonitoring.numGenericTriggerEventPSet.errorReplyHlt = cms.bool( False )
hltHIGmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
hltHIGmonitoring.denGenericTriggerEventPSet.dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis")
hltHIGmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
hltHIGmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
hltHIGmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
Expand Down
1 change: 1 addition & 0 deletions DQMOffline/Trigger/python/JetMonitor_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

hltJetMETmonitoring.denGenericTriggerEventPSet.andOr = cms.bool( False )
hltJetMETmonitoring.denGenericTriggerEventPSet.dcsInputTag = cms.InputTag( "scalersRawToDigi" )
hltJetMETmonitoring.denGenericTriggerEventPSet.dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis")
hltJetMETmonitoring.denGenericTriggerEventPSet.dcsPartitions = cms.vint32 ( 24, 25, 26, 27, 28, 29 ) # 24-27: strip, 28-29: pixel, we should add all other detectors !
hltJetMETmonitoring.denGenericTriggerEventPSet.andOrDcs = cms.bool( False )
hltJetMETmonitoring.denGenericTriggerEventPSet.errorReplyDcs = cms.bool( True )
Expand Down
Loading

0 comments on commit 4456728

Please sign in to comment.