CMS 3D CMS Logo

PATTriggerEventProducer.cc
Go to the documentation of this file.
1 //
2 //
3 
5 
6 #include <cassert>
7 
9 
11 
18 
22 
23 using namespace pat;
24 using namespace edm;
25 
27  : nameProcess_(iConfig.getParameter<std::string>("processName")),
28  autoProcessName_(nameProcess_ == "*"),
29  tagTriggerProducer_("patTrigger"),
30  tagsTriggerMatcher_(),
31  // L1 configuration parameters
32  tagL1Gt_(),
33  // HLTConfigProvider
34  hltConfigInit_(false),
35  // HLT configuration parameters
36  tagTriggerResults_("TriggerResults"),
37  tagTriggerEvent_("hltTriggerSummaryAOD"),
38  // Conditions configuration parameters
39  tagCondGt_(),
40  // Conditions
41  condRun_(),
42  condLumi_(),
43  gtCondRunInit_(false),
44  gtCondLumiInit_(false) {
45  if (iConfig.exists("triggerResults"))
46  tagTriggerResults_ = iConfig.getParameter<InputTag>("triggerResults");
51  this);
52  if (iConfig.exists("triggerEvent"))
53  tagTriggerEvent_ = iConfig.getParameter<InputTag>("triggerEvent");
54  if (iConfig.exists("patTriggerProducer"))
55  tagTriggerProducer_ = iConfig.getParameter<InputTag>("patTriggerProducer");
56  triggerAlgorithmCollectionToken_ = mayConsume<TriggerAlgorithmCollection>(tagTriggerProducer_);
57  triggerConditionCollectionToken_ = mayConsume<TriggerConditionCollection>(tagTriggerProducer_);
58  triggerPathCollectionToken_ = mayConsume<TriggerPathCollection>(tagTriggerProducer_);
59  triggerFilterCollectionToken_ = mayConsume<TriggerFilterCollection>(tagTriggerProducer_);
60  triggerObjectCollectionToken_ = mayConsume<TriggerObjectCollection>(tagTriggerProducer_);
61  if (iConfig.exists("condGtTag")) {
62  tagCondGt_ = iConfig.getParameter<InputTag>("condGtTag");
63  tagCondGtRunToken_ = mayConsume<ConditionsInRunBlock, InRun>(tagCondGt_);
64  tagCondGtLumiToken_ = mayConsume<ConditionsInLumiBlock, InLumi>(tagCondGt_);
65  tagCondGtEventToken_ = mayConsume<ConditionsInEventBlock>(tagCondGt_);
66  }
67  if (iConfig.exists("l1GtTag"))
68  tagL1Gt_ = iConfig.getParameter<InputTag>("l1GtTag");
69  l1GtToken_ = mayConsume<L1GlobalTriggerReadoutRecord>(tagL1Gt_);
70  if (iConfig.exists("patTriggerMatches"))
71  tagsTriggerMatcher_ = iConfig.getParameter<std::vector<InputTag> >("patTriggerMatches");
73  tagsTriggerMatcher_, [this](InputTag const& tag) { return mayConsume<TriggerObjectStandAloneMatch>(tag); });
74 
75  callWhenNewProductsRegistered([this](BranchDescription const& bd) {
76  if (not(this->autoProcessName_ and bd.processName() == this->moduleDescription().processName())) {
78  }
79  });
80 
81  for (size_t iMatch = 0; iMatch < tagsTriggerMatcher_.size(); ++iMatch) {
82  produces<TriggerObjectMatch>(tagsTriggerMatcher_.at(iMatch).label());
83  }
84  produces<TriggerEvent>();
85 }
86 
87 void PATTriggerEventProducer::beginRun(const Run& iRun, const EventSetup& iSetup) {
88  // Initialize process name
89  if (autoProcessName_) {
90  // reset
91  nameProcess_ = "*";
92  // determine process name from last run TriggerSummaryProducerAOD module in process history of input
93  const ProcessHistory& processHistory(iRun.processHistory());
94  ProcessConfiguration processConfiguration;
95  ParameterSet processPSet;
96  // unbroken loop, which relies on time ordering (accepts the last found entry)
97  for (ProcessHistory::const_iterator iHist = processHistory.begin(); iHist != processHistory.end(); ++iHist) {
98  if (processHistory.getConfigurationForProcess(iHist->processName(), processConfiguration) &&
99  pset::Registry::instance()->getMapped(processConfiguration.parameterSetID(), processPSet) &&
100  processPSet.exists(tagTriggerEvent_.label())) {
101  nameProcess_ = iHist->processName();
102  LogDebug("autoProcessName") << "HLT process name '" << nameProcess_ << "' discovered";
103  }
104  }
105  // terminate, if nothing is found
106  if (nameProcess_ == "*") {
107  LogError("autoProcessName") << "trigger::TriggerEvent product with label '" << tagTriggerEvent_.label()
108  << "' not produced according to process history of input data\n"
109  << "No trigger information produced.";
110  return;
111  }
112  LogInfo("autoProcessName") << "HLT process name " << nameProcess_ << " used for PAT trigger information";
113  }
114  // adapt configuration of used input tags
115  if (tagTriggerResults_.process().empty() || tagTriggerResults_.process() == "*") {
117  } else if (tagTriggerResults_.process() != nameProcess_) {
118  LogWarning("triggerResultsTag") << "TriggerResults process name '" << tagTriggerResults_.process()
119  << "' differs from HLT process name '" << nameProcess_ << "'";
120  }
121  if (tagTriggerEvent_.process().empty() || tagTriggerEvent_.process() == "*") {
123  } else if (tagTriggerEvent_.process() != nameProcess_) {
124  LogWarning("triggerEventTag") << "TriggerEvent process name '" << tagTriggerEvent_.process()
125  << "' differs from HLT process name '" << nameProcess_ << "'";
126  }
127 
128  gtCondRunInit_ = false;
129  if (!tagCondGt_.label().empty()) {
130  Handle<ConditionsInRunBlock> condRunBlock;
131  iRun.getByToken(tagCondGtRunToken_, condRunBlock);
132  if (condRunBlock.isValid()) {
133  condRun_ = *condRunBlock;
134  gtCondRunInit_ = true;
135  } else {
136  LogError("conditionsInEdm") << "ConditionsInRunBlock product with InputTag '" << tagCondGt_.encode()
137  << "' not in run";
138  }
139  }
140 
141  // Initialize HLTConfigProvider
142  hltConfigInit_ = false;
143  bool changed(true);
144  if (!hltConfig_.init(iRun, iSetup, nameProcess_, changed)) {
145  LogError("hltConfigExtraction") << "HLT config extraction error with process name '" << nameProcess_ << "'";
146  } else if (hltConfig_.size() <= 0) {
147  LogError("hltConfigSize") << "HLT config size error";
148  } else
149  hltConfigInit_ = true;
150 }
151 
152 void PATTriggerEventProducer::beginLuminosityBlock(const LuminosityBlock& iLuminosityBlock, const EventSetup& iSetup) {
153  // Terminate, if auto process name determination failed
154  if (nameProcess_ == "*")
155  return;
156 
157  gtCondLumiInit_ = false;
158  if (!tagCondGt_.label().empty()) {
159  Handle<ConditionsInLumiBlock> condLumiBlock;
160  iLuminosityBlock.getByToken(tagCondGtLumiToken_, condLumiBlock);
161  if (condLumiBlock.isValid()) {
162  condLumi_ = *condLumiBlock;
163  gtCondLumiInit_ = true;
164  } else {
165  LogError("conditionsInEdm") << "ConditionsInLumiBlock product with InputTag '" << tagCondGt_.encode()
166  << "' not in lumi";
167  }
168  }
169 }
170 
172  // Terminate, if auto process name determination failed
173  if (nameProcess_ == "*")
174  return;
175 
176  if (!hltConfigInit_)
177  return;
178 
179  ESHandle<L1GtTriggerMenu> handleL1GtTriggerMenu;
180  iSetup.get<L1GtTriggerMenuRcd>().get(handleL1GtTriggerMenu);
181  Handle<TriggerResults> handleTriggerResults;
182  iEvent.getByLabel(tagTriggerResults_, handleTriggerResults);
183  // iEvent.getByToken( triggerResultsToken_, handleTriggerResults );
184  if (!handleTriggerResults.isValid()) {
185  LogError("triggerResultsValid") << "TriggerResults product with InputTag '" << tagTriggerResults_.encode()
186  << "' not in event\n"
187  << "No trigger information produced";
188  return;
189  }
190  Handle<TriggerAlgorithmCollection> handleTriggerAlgorithms;
191  iEvent.getByToken(triggerAlgorithmCollectionToken_, handleTriggerAlgorithms);
192  Handle<TriggerConditionCollection> handleTriggerConditions;
193  iEvent.getByToken(triggerConditionCollectionToken_, handleTriggerConditions);
194  Handle<TriggerPathCollection> handleTriggerPaths;
195  iEvent.getByToken(triggerPathCollectionToken_, handleTriggerPaths);
196  Handle<TriggerFilterCollection> handleTriggerFilters;
197  iEvent.getByToken(triggerFilterCollectionToken_, handleTriggerFilters);
198  Handle<TriggerObjectCollection> handleTriggerObjects;
199  iEvent.getByToken(triggerObjectCollectionToken_, handleTriggerObjects);
200 
201  bool physDecl(false);
202  if (iEvent.isRealData() && !tagL1Gt_.label().empty()) {
203  Handle<L1GlobalTriggerReadoutRecord> handleL1GlobalTriggerReadoutRecord;
204  iEvent.getByToken(l1GtToken_, handleL1GlobalTriggerReadoutRecord);
205  if (handleL1GlobalTriggerReadoutRecord.isValid()) {
206  L1GtFdlWord fdlWord = handleL1GlobalTriggerReadoutRecord->gtFdlWord();
207  if (fdlWord.physicsDeclared() == 1) {
208  physDecl = true;
209  }
210  } else {
211  LogError("l1GlobalTriggerReadoutRecordValid")
212  << "L1GlobalTriggerReadoutRecord product with InputTag '" << tagL1Gt_.encode() << "' not in event";
213  }
214  } else {
215  physDecl = true;
216  }
217 
218  // produce trigger event
219 
220  auto triggerEvent = std::make_unique<TriggerEvent>(handleL1GtTriggerMenu->gtTriggerMenuName(),
222  handleTriggerResults->wasrun(),
223  handleTriggerResults->accept(),
224  handleTriggerResults->error(),
225  physDecl);
226  // set product references to trigger collections
227  if (handleTriggerAlgorithms.isValid()) {
228  triggerEvent->setAlgorithms(handleTriggerAlgorithms);
229  } else {
230  LogError("triggerAlgorithmsValid") << "pat::TriggerAlgorithmCollection product with InputTag '"
231  << tagTriggerProducer_.encode() << "' not in event";
232  }
233  if (handleTriggerConditions.isValid()) {
234  triggerEvent->setConditions(handleTriggerConditions);
235  } else {
236  LogError("triggerConditionsValid") << "pat::TriggerConditionCollection product with InputTag '"
237  << tagTriggerProducer_.encode() << "' not in event";
238  }
239  if (handleTriggerPaths.isValid()) {
240  triggerEvent->setPaths(handleTriggerPaths);
241  } else {
242  LogError("triggerPathsValid") << "pat::TriggerPathCollection product with InputTag '"
243  << tagTriggerProducer_.encode() << "' not in event";
244  }
245  if (handleTriggerFilters.isValid()) {
246  triggerEvent->setFilters(handleTriggerFilters);
247  } else {
248  LogError("triggerFiltersValid") << "pat::TriggerFilterCollection product with InputTag '"
249  << tagTriggerProducer_.encode() << "' not in event";
250  }
251  if (handleTriggerObjects.isValid()) {
252  triggerEvent->setObjects(handleTriggerObjects);
253  } else {
254  LogError("triggerObjectsValid") << "pat::TriggerObjectCollection product with InputTag '"
255  << tagTriggerProducer_.encode() << "' not in event";
256  }
257  if (gtCondRunInit_) {
258  triggerEvent->setLhcFill(condRun_.lhcFillNumber);
259  triggerEvent->setBeamMode(condRun_.beamMode);
260  triggerEvent->setBeamMomentum(condRun_.beamMomentum);
261  triggerEvent->setBCurrentStart(condRun_.BStartCurrent);
262  triggerEvent->setBCurrentStop(condRun_.BStopCurrent);
263  triggerEvent->setBCurrentAvg(condRun_.BAvgCurrent);
264  }
265  if (gtCondLumiInit_) {
266  triggerEvent->setIntensityBeam1(condLumi_.totalIntensityBeam1);
267  triggerEvent->setIntensityBeam2(condLumi_.totalIntensityBeam2);
268  }
269  if (!tagCondGt_.label().empty()) {
270  Handle<ConditionsInEventBlock> condEventBlock;
271  iEvent.getByToken(tagCondGtEventToken_, condEventBlock);
272  if (condEventBlock.isValid()) {
273  triggerEvent->setBstMasterStatus(condEventBlock->bstMasterStatus);
274  triggerEvent->setTurnCount(condEventBlock->turnCountNumber);
275  } else {
276  LogError("conditionsInEdm") << "ConditionsInEventBlock product with InputTag '" << tagCondGt_.encode()
277  << "' not in event";
278  }
279  }
280 
281  // produce trigger match association and set references
282  if (handleTriggerObjects.isValid()) {
283  for (size_t iMatch = 0; iMatch < tagsTriggerMatcher_.size(); ++iMatch) {
284  const std::string labelTriggerObjectMatcher(tagsTriggerMatcher_.at(iMatch).label());
285  // copy trigger match association using TriggerObjectStandAlone to those using TriggerObject
286  // relying on the fact, that only one candidate collection is present in the association
287  Handle<TriggerObjectStandAloneMatch> handleTriggerObjectStandAloneMatch;
288  iEvent.getByToken(triggerMatcherTokens_.at(iMatch), handleTriggerObjectStandAloneMatch);
289  if (!handleTriggerObjectStandAloneMatch.isValid()) {
290  LogError("triggerMatchValid") << "pat::TriggerObjectStandAloneMatch product with InputTag '"
291  << labelTriggerObjectMatcher << "' not in event";
292  continue;
293  }
294  auto it = makeAssociativeIterator<reco::CandidateBaseRef>(*handleTriggerObjectStandAloneMatch, iEvent);
295  auto itEnd = it.end();
296  Handle<reco::CandidateView> handleCands;
297  if (it != itEnd)
298  iEvent.get(it->first.id(), handleCands);
299  std::vector<int> indices;
300  while (it != itEnd) {
301  indices.push_back(it->second.key());
302  ++it;
303  }
304  auto triggerObjectMatch = std::make_unique<TriggerObjectMatch>(handleTriggerObjects);
305  TriggerObjectMatch::Filler matchFiller(*triggerObjectMatch);
306  if (handleCands.isValid()) {
307  matchFiller.insert(handleCands, indices.begin(), indices.end());
308  }
309  matchFiller.fill();
310  OrphanHandle<TriggerObjectMatch> handleTriggerObjectMatch(
311  iEvent.put(std::move(triggerObjectMatch), labelTriggerObjectMatcher));
312  // set product reference to trigger match association
313  if (!handleTriggerObjectMatch.isValid()) {
314  LogError("triggerMatchValid") << "pat::TriggerObjectMatch product with InputTag '" << labelTriggerObjectMatcher
315  << "' not in event";
316  continue;
317  }
318  if (!(triggerEvent->addObjectMatchResult(handleTriggerObjectMatch, labelTriggerObjectMatcher))) {
319  LogWarning("triggerObjectMatchReplication")
320  << "pat::TriggerEvent contains already a pat::TriggerObjectMatch from matcher module '"
321  << labelTriggerObjectMatcher << "'";
322  }
323  }
324  }
325 
327 }
328 
bTagCombinedSVVariables_cff.indices
indices
Definition: bTagCombinedSVVariables_cff.py:67
L1GtTriggerMenu.h
pat::PATTriggerEventProducer::tagCondGtRunToken_
edm::EDGetTokenT< edm::ConditionsInRunBlock > tagCondGtRunToken_
Definition: PATTriggerEventProducer.h:78
pat::PATTriggerEventProducer::tagTriggerProducer_
edm::InputTag tagTriggerProducer_
Definition: PATTriggerEventProducer.h:59
L1GtTriggerMenu::gtTriggerMenuName
const std::string & gtTriggerMenuName() const
Definition: L1GtTriggerMenu.h:91
edm::ConditionsInEventBlock::turnCountNumber
uint32_t turnCountNumber
Definition: ConditionsInEdm.h:36
edm::helper::Filler::insert
void insert(const H &h, I begin, I end)
Definition: ValueMap.h:53
MessageLogger.h
edm::Association::Filler
Definition: Association.h:78
pat::PATTriggerEventProducer::gtCondRunInit_
bool gtCondRunInit_
Definition: PATTriggerEventProducer.h:83
edm::ConditionsInLumiBlock::totalIntensityBeam2
uint32_t totalIntensityBeam2
Definition: ConditionsInEdm.h:10
funct::false
false
Definition: Factorize.h:29
pat::PATTriggerEventProducer::triggerPathCollectionToken_
edm::EDGetTokenT< TriggerPathCollection > triggerPathCollectionToken_
Definition: PATTriggerEventProducer.h:62
edm::InputTag::instance
std::string const & instance() const
Definition: InputTag.h:37
ESHandle.h
TriggerResults.h
pat::PATTriggerEventProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: PATTriggerEventProducer.cc:171
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
L1GtFdlWord::physicsDeclared
const cms_uint16_t physicsDeclared() const
get/set "physics declared" bit
Definition: L1GtFdlWord.h:169
edm::Run
Definition: Run.h:45
TriggerEvent.h
edm
HLT enums.
Definition: AlignableModifier.h:19
pat::PATTriggerEventProducer::beginRun
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
Definition: PATTriggerEventProducer.cc:87
L1GtTriggerMenuRcd.h
deep_tau::DeepTauBase::BasicDiscriminator
BasicDiscriminator
Definition: DeepTauBase.h:115
pat::PATTriggerEventProducer::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) override
Definition: PATTriggerEventProducer.cc:152
pat::PATTriggerEventProducer::condRun_
edm::ConditionsInRunBlock condRun_
Definition: PATTriggerEventProducer.h:81
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89353
edm::HLTGlobalStatus::wasrun
bool wasrun() const
Was at least one path run?
Definition: HLTGlobalStatus.h:47
edm::helper::Filler::fill
void fill()
Definition: ValueMap.h:65
AssociativeIterator.h
pat::PATTriggerEventProducer::gtCondLumiInit_
bool gtCondLumiInit_
Definition: PATTriggerEventProducer.h:84
edm::InputTag::process
std::string const & process() const
Definition: InputTag.h:40
pat::PATTriggerEventProducer::tagCondGtLumiToken_
edm::EDGetTokenT< edm::ConditionsInLumiBlock > tagCondGtLumiToken_
Definition: PATTriggerEventProducer.h:79
edm::HLTGlobalStatus::error
bool error() const
Has any path encountered an error (exception)
Definition: HLTGlobalStatus.h:51
pat::PATTriggerEventProducer::triggerConditionCollectionToken_
edm::EDGetTokenT< TriggerConditionCollection > triggerConditionCollectionToken_
Definition: PATTriggerEventProducer.h:61
pat::PATTriggerEventProducer::triggerObjectCollectionToken_
edm::EDGetTokenT< TriggerObjectCollection > triggerObjectCollectionToken_
Definition: PATTriggerEventProducer.h:64
pat::PATTriggerEventProducer::triggerAlgorithmCollectionToken_
edm::EDGetTokenT< TriggerAlgorithmCollection > triggerAlgorithmCollectionToken_
Definition: PATTriggerEventProducer.h:60
PATTriggerEventProducer.h
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
edm::Handle
Definition: AssociativeIterator.h:50
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
pat::PATTriggerEventProducer::tagsTriggerMatcher_
std::vector< edm::InputTag > tagsTriggerMatcher_
Definition: PATTriggerEventProducer.h:65
pat::PATTriggerEventProducer::condLumi_
edm::ConditionsInLumiBlock condLumi_
Definition: PATTriggerEventProducer.h:82
pat::PATTriggerEventProducer
Produces the central entry point to full PAT trigger information.
Definition: PATTriggerEventProducer.h:47
edm::ConditionsInRunBlock::lhcFillNumber
uint32_t lhcFillNumber
Definition: ConditionsInEdm.h:24
pat::PATTriggerEventProducer::tagL1Gt_
edm::InputTag tagL1Gt_
Definition: PATTriggerEventProducer.h:68
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
MakerMacros.h
edm::LuminosityBlock::getByToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: LuminosityBlock.h:319
pat::PATTriggerEventProducer::nameProcess_
std::string nameProcess_
Definition: PATTriggerEventProducer.h:57
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
edm::Run::getByToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Run.h:316
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
ProcessHistory.h
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
edm::ConditionsInRunBlock::BAvgCurrent
float BAvgCurrent
Definition: ConditionsInEdm.h:27
L1GtTriggerMenuRcd
Definition: L1GtTriggerMenuRcd.h:32
pat::PATTriggerEventProducer::tagCondGt_
edm::InputTag tagCondGt_
Definition: PATTriggerEventProducer.h:77
edm::ESHandle
Definition: DTSurvey.h:22
pat::PATTriggerEventProducer::tagTriggerEvent_
edm::InputTag tagTriggerEvent_
Definition: PATTriggerEventProducer.h:75
InputTagMatch.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::vector_transform
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
Definition: transform.h:11
pat::PATTriggerEventProducer::l1GtToken_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > l1GtToken_
Definition: PATTriggerEventProducer.h:69
HLTConfigProvider::size
unsigned int size() const
number of trigger paths in trigger table
Definition: HLTConfigProvider.h:63
pat::PATTriggerEventProducer::hltConfigInit_
bool hltConfigInit_
Definition: PATTriggerEventProducer.h:72
edm::ParameterSet::exists
bool exists(std::string const &parameterName) const
checks if a parameter exists
Definition: ParameterSet.cc:681
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
edm::ParameterSet
Definition: ParameterSet.h:47
edm::ConditionsInLumiBlock::totalIntensityBeam1
uint32_t totalIntensityBeam1
Definition: ConditionsInEdm.h:9
pat::PATTriggerEventProducer::tagTriggerResults_
edm::InputTag tagTriggerResults_
Definition: PATTriggerEventProducer.h:73
edm::ProcessHistory::const_iterator
collection_type::const_iterator const_iterator
Definition: ProcessHistory.h:19
pat::PATTriggerEventProducer::triggerMatcherTokens_
std::vector< edm::EDGetTokenT< TriggerObjectStandAloneMatch > > triggerMatcherTokens_
Definition: PATTriggerEventProducer.h:66
L1GtFdlWord
Definition: L1GtFdlWord.h:29
pat::PATTriggerEventProducer::triggerFilterCollectionToken_
edm::EDGetTokenT< TriggerFilterCollection > triggerFilterCollectionToken_
Definition: PATTriggerEventProducer.h:63
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::GetterOfProducts
Definition: GetterOfProducts.h:120
pat::PATTriggerEventProducer::autoProcessName_
bool autoProcessName_
Definition: PATTriggerEventProducer.h:58
HLTConfigProvider::tableName
const std::string & tableName() const
HLT ConfDB table name.
Definition: HLTConfigProvider.h:60
edm::InputTag::encode
std::string encode() const
Definition: InputTag.cc:159
edm::EventSetup
Definition: EventSetup.h:57
pat
Definition: HeavyIon.h:7
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
get
#define get
PDWG_DiPhoton_SD_cff.triggerEvent
triggerEvent
Definition: PDWG_DiPhoton_SD_cff.py:39
edm::InputTagMatch
Definition: InputTagMatch.h:20
instance
static PFTauRenderPlugin instance
Definition: PFTauRenderPlugin.cc:70
edm::ConditionsInRunBlock::BStartCurrent
float BStartCurrent
Definition: ConditionsInEdm.h:25
edm::ConditionsInRunBlock::beamMode
uint16_t beamMode
Definition: ConditionsInEdm.h:20
Registry.h
edm::ConditionsInRunBlock::BStopCurrent
float BStopCurrent
Definition: ConditionsInEdm.h:26
edm::ConditionsInEventBlock::bstMasterStatus
uint16_t bstMasterStatus
Definition: ConditionsInEdm.h:35
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
edm::OrphanHandle
Definition: EDProductfwd.h:39
pat::PATTriggerEventProducer::hltConfig_
HLTConfigProvider hltConfig_
Definition: PATTriggerEventProducer.h:71
HLTConfigProvider::init
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
Definition: HLTConfigProvider.cc:36
pat::PATTriggerEventProducer::triggerResultsGetter_
edm::GetterOfProducts< edm::TriggerResults > triggerResultsGetter_
Definition: PATTriggerEventProducer.h:74
transform.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::HLTGlobalStatus::accept
bool accept() const
Has at least one path accepted the event?
Definition: HLTGlobalStatus.h:49
edm::ConditionsInRunBlock::beamMomentum
uint16_t beamMomentum
Definition: ConditionsInEdm.h:21
edm::BranchDescription
Definition: BranchDescription.h:32
edm::ProcessHistory
Definition: ProcessHistory.h:13
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::Event
Definition: Event.h:73
pat::PATTriggerEventProducer::tagCondGtEventToken_
edm::EDGetTokenT< edm::ConditionsInEventBlock > tagCondGtEventToken_
Definition: PATTriggerEventProducer.h:80
L1GlobalTriggerReadoutRecord::gtFdlWord
const L1GtFdlWord gtFdlWord(int bxInEventValue) const
get / set FDL word (record) in the GT readout record
Definition: L1GlobalTriggerReadoutRecord.cc:372
edm::InputTag
Definition: InputTag.h:15
edm::ProcessConfiguration
Definition: ProcessConfiguration.h:14
pat::PATTriggerEventProducer::PATTriggerEventProducer
PATTriggerEventProducer(const edm::ParameterSet &iConfig)
Definition: PATTriggerEventProducer.cc:26
edm::Run::processHistory
ProcessHistory const & processHistory() const
Definition: Run.cc:110