CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
L1GtUtilsHelper Class Reference

#include <L1GtUtilsHelper.h>

Public Member Functions

edm::InputTag const & l1GtReadoutRecordInputTag () const
 
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > const & l1GtReadoutRecordToken () const
 
edm::InputTag const & l1GtRecordInputTag () const
 
edm::EDGetTokenT< L1GlobalTriggerRecord > const & l1GtRecordToken () const
 
edm::InputTag const & l1GtTriggerMenuLiteInputTag () const
 
edm::EDGetTokenT< L1GtTriggerMenuLite > const & l1GtTriggerMenuLiteToken () const
 
 L1GtUtilsHelper (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, bool useL1GtTriggerMenuLite)
 
template<typename T >
 L1GtUtilsHelper (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, bool useL1GtTriggerMenuLite, T &module)
 
template<typename T >
 L1GtUtilsHelper (edm::ParameterSet const &pset, edm::ConsumesCollector &iC, bool useL1GtTriggerMenuLite, T &module, edm::InputTag const &l1GtRecordInputTag, edm::InputTag const &l1GtReadoutRecordInputTag, edm::InputTag const &l1GtTriggerMenuLiteInputTag)
 
void operator() (edm::BranchDescription const &branchDescription)
 

Static Public Member Functions

static void fillDescription (edm::ParameterSetDescription &desc)
 

Private Attributes

edm::ConsumesCollector m_consumesCollector
 
bool m_findMenuLite
 
bool m_findReadoutRecord
 
bool m_findRecord
 
bool m_foundMultipleL1GtMenuLite
 
bool m_foundMultipleL1GtReadoutRecord
 
bool m_foundMultipleL1GtRecord
 
bool m_foundPreferredMenuLite
 
bool m_foundPreferredReadoutRecord
 
bool m_foundPreferredRecord
 
std::vector< edm::InputTagm_inputTagsL1GtMenuLite
 
std::vector< edm::InputTagm_inputTagsL1GtReadoutRecord
 
std::vector< edm::InputTagm_inputTagsL1GtRecord
 
edm::InputTag m_l1GtReadoutRecordInputTag
 
edm::EDGetTokenT< L1GlobalTriggerReadoutRecordm_l1GtReadoutRecordToken
 
edm::InputTag m_l1GtRecordInputTag
 
edm::EDGetTokenT< L1GlobalTriggerRecordm_l1GtRecordToken
 
edm::InputTag m_l1GtTriggerMenuLiteInputTag
 
edm::EDGetTokenT< L1GtTriggerMenuLitem_l1GtTriggerMenuLiteToken
 

Detailed Description

Description: Gets tokens for L1GtUtils to use when getting products from the Event and Run. This class was introduced when the consumes function calls were added for L1GtUtils. It preserves the special feature of L1GtUtils that allows it to run without configuration of InputTags, although it allows InputTags to be configured optionally or passed in via the constructor arguments.

Author
: W.David Dagenhart - Fermilab 30 April 2015

Definition at line 37 of file L1GtUtilsHelper.h.

Constructor & Destructor Documentation

◆ L1GtUtilsHelper() [1/3]

L1GtUtilsHelper::L1GtUtilsHelper ( edm::ParameterSet const &  pset,
edm::ConsumesCollector iC,
bool  useL1GtTriggerMenuLite 
)

◆ L1GtUtilsHelper() [2/3]

template<typename T >
L1GtUtilsHelper::L1GtUtilsHelper ( edm::ParameterSet const &  pset,
edm::ConsumesCollector iC,
bool  useL1GtTriggerMenuLite,
T module 
)

Definition at line 113 of file L1GtUtilsHelper.h.

◆ L1GtUtilsHelper() [3/3]

template<typename T >
L1GtUtilsHelper::L1GtUtilsHelper ( edm::ParameterSet const &  pset,
edm::ConsumesCollector iC,
bool  useL1GtTriggerMenuLite,
T module,
edm::InputTag const &  l1GtRecordInputTag,
edm::InputTag const &  l1GtReadoutRecordInputTag,
edm::InputTag const &  l1GtTriggerMenuLiteInputTag 
)

Definition at line 120 of file L1GtUtilsHelper.h.

127  : m_consumesCollector(iC),
128 
129  // Set InputTags from arguments
133 
134  m_findRecord(false),
135  m_findReadoutRecord(false),
136  m_findMenuLite(false),
137 
138  m_foundPreferredRecord(false),
141 
145  // If the InputTags are not set to valid values by the arguments, then
146  // try to set them from the configuration.
147  if (m_l1GtRecordInputTag.label().empty() && pset.existsAs<edm::InputTag>("l1GtRecordInputTag")) {
148  m_l1GtRecordInputTag = pset.getParameter<edm::InputTag>("l1GtRecordInputTag");
149  }
150  if (m_l1GtReadoutRecordInputTag.label().empty() && pset.existsAs<edm::InputTag>("l1GtReadoutRecordInputTag")) {
151  m_l1GtReadoutRecordInputTag = pset.getParameter<edm::InputTag>("l1GtReadoutRecordInputTag");
152  }
154  pset.existsAs<edm::InputTag>("l1GtTriggerMenuLiteInputTag")) {
155  m_l1GtTriggerMenuLiteInputTag = pset.getParameter<edm::InputTag>("l1GtTriggerMenuLiteInputTag");
156  }
157 
158  // If the InputTags were set to valid values, make the consumes calls.
159  if (!m_l1GtRecordInputTag.label().empty()) {
161  }
162  if (!m_l1GtReadoutRecordInputTag.label().empty()) {
164  }
167  }
168 
169  // Do we still need to search for each InputTag?
173 
174  // Register the callback function with the Framework
175  // if any InputTags still need to be found.
177  module.callWhenNewProductsRegistered(std::ref(*this));
178  }
179 }

References edm::ConsumesCollector::consumes(), edm::InRun, edm::InputTag::label(), m_findMenuLite, m_findReadoutRecord, m_findRecord, m_l1GtReadoutRecordInputTag, m_l1GtReadoutRecordToken, m_l1GtRecordInputTag, m_l1GtRecordToken, m_l1GtTriggerMenuLiteInputTag, m_l1GtTriggerMenuLiteToken, muonDTDigis_cfi::pset, and useL1GtTriggerMenuLite().

Member Function Documentation

◆ fillDescription()

void L1GtUtilsHelper::fillDescription ( edm::ParameterSetDescription desc)
static

Definition at line 27 of file L1GtUtilsHelper.cc.

27  {
28  desc.add<edm::InputTag>("l1GtRecordInputTag", edm::InputTag());
29  desc.add<edm::InputTag>("l1GtReadoutRecordInputTag", edm::InputTag());
30  desc.add<edm::InputTag>("l1GtTriggerMenuLiteInputTag", edm::InputTag());
31 }

References submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.

Referenced by L1GtUtils::fillDescription().

◆ l1GtReadoutRecordInputTag()

edm::InputTag const& L1GtUtilsHelper::l1GtReadoutRecordInputTag ( ) const
inline

Definition at line 74 of file L1GtUtilsHelper.h.

References m_l1GtReadoutRecordInputTag.

◆ l1GtReadoutRecordToken()

edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> const& L1GtUtilsHelper::l1GtReadoutRecordToken ( ) const
inline

Definition at line 78 of file L1GtUtilsHelper.h.

78  {
80  }

References m_l1GtReadoutRecordToken.

◆ l1GtRecordInputTag()

edm::InputTag const& L1GtUtilsHelper::l1GtRecordInputTag ( ) const
inline

Definition at line 73 of file L1GtUtilsHelper.h.

73 { return m_l1GtRecordInputTag; }

References m_l1GtRecordInputTag.

◆ l1GtRecordToken()

edm::EDGetTokenT<L1GlobalTriggerRecord> const& L1GtUtilsHelper::l1GtRecordToken ( ) const
inline

Definition at line 77 of file L1GtUtilsHelper.h.

77 { return m_l1GtRecordToken; }

References m_l1GtRecordToken.

◆ l1GtTriggerMenuLiteInputTag()

edm::InputTag const& L1GtUtilsHelper::l1GtTriggerMenuLiteInputTag ( ) const
inline

Definition at line 75 of file L1GtUtilsHelper.h.

References m_l1GtTriggerMenuLiteInputTag.

◆ l1GtTriggerMenuLiteToken()

edm::EDGetTokenT<L1GtTriggerMenuLite> const& L1GtUtilsHelper::l1GtTriggerMenuLiteToken ( ) const
inline

Definition at line 81 of file L1GtUtilsHelper.h.

References m_l1GtTriggerMenuLiteToken.

◆ operator()()

void L1GtUtilsHelper::operator() ( edm::BranchDescription const &  branchDescription)

Definition at line 33 of file L1GtUtilsHelper.cc.

33  {
34  // This is only used if required InputTags were not specified already.
35  // This is called early in the process, once for each product in the ProductRegistry.
36  // The callback is registered when callWhenNewProductsRegistered is called.
37  // It finds products by type and sets the token so that it can be used
38  // later when getting the product.
39 
40  // The code will look for the corresponding product in ProductRegistry.
41  // If the product is found, it checks the product label in
42  // a vector of preferred input tags (hardwired now to "gtDigis" and
43  // "hltGtDigis"). The first input tag from the vector of preferred input tags, with the
44  // same label as the input tag found from provenance, is kept as input tag, if there are no
45  // multiple products with the same label.
46 
47  // If multiple products are found and no one has a label in the vector of preferred input tags,
48  // or if multiple products are found with the label in the vector of preferred input tags
49  // (with different instance or process) the input tag is set to empty input tag, and L1GtUtil
50  // will produce an error, as it is not possible to safely choose a product. In this case, one must
51  // provide explicitly the correct input tag via configuration or in the constructor.
52 
53  // TODO decide if the preferred input tags must be given as input parameters
54  // or stay hardwired
55 
56  std::vector<edm::InputTag> preferredL1GtRecordInputTag = {edm::InputTag("gtDigis"), edm::InputTag("hltGtDigis")};
57 
58  std::vector<edm::InputTag> preferredL1GtReadoutRecordInputTag = {edm::InputTag("gtDigis"),
59  edm::InputTag("hltGtDigis")};
60 
61  std::vector<edm::InputTag> preferredL1GtTriggerMenuLiteInputTag = {edm::InputTag("gtDigis"),
62  edm::InputTag("hltGtDigis")};
63 
64  // L1GlobalTriggerRecord
65 
67  (branchDescription.unwrappedTypeID() == edm::TypeID(typeid(L1GlobalTriggerRecord))) &&
68  (branchDescription.branchType() == edm::InEvent)) {
70  branchDescription.moduleLabel(), branchDescription.productInstanceName(), branchDescription.processName()};
71 
73  // check if a preferred input tag was already found and compare it with the actual tag
74  // if the instance or the process names are different, one has incompatible tags - set
75  // the tag to empty input tag and indicate that multiple preferred input tags are found
76  // so it is not possibly to choose safely an input tag
77 
78  if ((m_l1GtRecordInputTag.label() == branchDescription.moduleLabel()) &&
79  ((m_l1GtRecordInputTag.instance() != branchDescription.productInstanceName()) ||
80  (m_l1GtRecordInputTag.process() != branchDescription.processName()))) {
81  LogDebug("L1GtUtils") << "\nWARNING: Found multiple preferred input tags for L1GlobalTriggerRecord product, "
82  << "\nwith different instaces or processes."
83  << "\nInput tag already found: " << (m_l1GtRecordInputTag) << "\nActual tag: " << (tag)
84  << "\nInput tag set to empty tag." << std::endl;
85 
88  }
89  } else {
90  // no preferred input tag found yet, check now with the actual tag
91  for (std::vector<edm::InputTag>::const_iterator itPrefTag = preferredL1GtRecordInputTag.begin(),
92  itPrefTagEnd = preferredL1GtRecordInputTag.end();
93  itPrefTag != itPrefTagEnd;
94  ++itPrefTag) {
95  if (branchDescription.moduleLabel() == itPrefTag->label()) {
99  m_inputTagsL1GtRecord.push_back(tag);
100 
101  LogDebug("L1GtUtils") << "\nWARNING: Input tag for L1GlobalTriggerRecord product set to preferred input tag"
102  << (tag) << std::endl;
103  break;
104  }
105  }
106  }
107 
108  if (!m_foundPreferredRecord) {
109  // check if other input tag was found - if true, there are multiple input tags in the event,
110  // none in the preferred input tags, so it is not possibly to choose safely an input tag
111 
112  if (m_inputTagsL1GtRecord.size() > 1) {
113  LogDebug("L1GtUtils") << "\nWARNING: Found multiple input tags for L1GlobalTriggerRecord product."
114  << "\nNone is in the preferred input tags - no safe choice."
115  << "\nInput tag already found: " << (m_l1GtRecordInputTag) << "\nActual tag: " << (tag)
116  << "\nInput tag set to empty tag." << std::endl;
119 
120  } else {
123  m_inputTagsL1GtRecord.push_back(tag);
125 
126  LogDebug("L1GtUtils") << "\nWARNING: No preferred input tag found for L1GlobalTriggerReadoutRecord product."
127  << "\nInput tag set to " << (tag) << std::endl;
128  }
129  }
130  }
131  }
132 
133  // L1GlobalTriggerReadoutRecord
134 
136  (branchDescription.unwrappedTypeID() == edm::TypeID(typeid(L1GlobalTriggerReadoutRecord))) &&
137  (branchDescription.branchType() == edm::InEvent)) {
139  branchDescription.moduleLabel(), branchDescription.productInstanceName(), branchDescription.processName()};
140 
142  // check if a preferred input tag was already found and compare it with the actual tag
143  // if the instance or the process names are different, one has incompatible tags - set
144  // the tag to empty input tag and indicate that multiple preferred input tags are found
145  // so it is not possibly to choose safely an input tag
146 
147  if ((m_l1GtReadoutRecordInputTag.label() == branchDescription.moduleLabel()) &&
148  ((m_l1GtReadoutRecordInputTag.instance() != branchDescription.productInstanceName()) ||
149  (m_l1GtReadoutRecordInputTag.process() != branchDescription.processName()))) {
150  LogDebug("L1GtUtils")
151  << "\nWARNING: Found multiple preferred input tags for L1GlobalTriggerReadoutRecord product, "
152  << "\nwith different instaces or processes."
153  << "\nInput tag already found: " << (m_l1GtReadoutRecordInputTag) << "\nActual tag: " << (tag)
154  << "\nInput tag set to empty tag." << std::endl;
155 
158  }
159  } else {
160  // no preferred input tag found yet, check now with the actual tag
161 
162  for (std::vector<edm::InputTag>::const_iterator itPrefTag = preferredL1GtReadoutRecordInputTag.begin(),
163  itPrefTagEnd = preferredL1GtReadoutRecordInputTag.end();
164  itPrefTag != itPrefTagEnd;
165  ++itPrefTag) {
166  if (branchDescription.moduleLabel() == itPrefTag->label()) {
171 
172  LogDebug("L1GtUtils")
173  << "\nWARNING: Input tag for L1GlobalTriggerReadoutRecord product set to preferred input tag" << (tag)
174  << std::endl;
175  break;
176  }
177  }
178  }
179 
181  // check if other input tag was found - if true, there are multiple input tags in the event,
182  // none in the preferred input tags, so it is not possibly to choose safely an input tag
183 
184  if (m_inputTagsL1GtReadoutRecord.size() > 1) {
185  LogDebug("L1GtUtils") << "\nWARNING: Found multiple input tags for L1GlobalTriggerReadoutRecord product."
186  << "\nNone is in the preferred input tags - no safe choice."
187  << "\nInput tag already found: " << (m_l1GtReadoutRecordInputTag)
188  << "\nActual tag: " << (tag) << "\nInput tag set to empty tag." << std::endl;
191 
192  } else {
197 
198  LogDebug("L1GtUtils") << "\nWARNING: No preferred input tag found for L1GlobalTriggerReadoutRecord product."
199  << "\nInput tag set to " << (tag) << std::endl;
200  }
201  }
202  }
203  }
204 
205  // L1GtTriggerMenuLite
206 
208  (branchDescription.unwrappedTypeID() == edm::TypeID(typeid(L1GtTriggerMenuLite))) &&
209  (branchDescription.branchType() == edm::InEvent)) {
211  branchDescription.moduleLabel(), branchDescription.productInstanceName(), branchDescription.processName()};
212 
214  // check if a preferred input tag was already found and compare it with the actual tag
215  // if the instance or the process names are different, one has incompatible tags - set
216  // the tag to empty input tag and indicate that multiple preferred input tags are found
217  // so it is not possibly to choose safely an input tag
218 
219  if ((m_l1GtTriggerMenuLiteInputTag.label() == branchDescription.moduleLabel()) &&
220  ((m_l1GtTriggerMenuLiteInputTag.instance() != branchDescription.productInstanceName()) ||
221  (m_l1GtTriggerMenuLiteInputTag.process() != branchDescription.processName()))) {
222  LogDebug("L1GtUtils") << "\nWARNING: Found multiple preferred input tags for L1GtTriggerMenuLite product, "
223  << "\nwith different instaces or processes."
224  << "\nInput tag already found: " << (m_l1GtTriggerMenuLiteInputTag)
225  << "\nActual tag: " << (tag) << "\nInput tag set to empty tag." << std::endl;
226 
229  }
230  } else {
231  // no preferred input tag found yet, check now with the actual tag
232 
233  for (std::vector<edm::InputTag>::const_iterator itPrefTag = preferredL1GtTriggerMenuLiteInputTag.begin(),
234  itPrefTagEnd = preferredL1GtTriggerMenuLiteInputTag.end();
235  itPrefTag != itPrefTagEnd;
236  ++itPrefTag) {
237  if (branchDescription.moduleLabel() == itPrefTag->label()) {
241  m_inputTagsL1GtMenuLite.push_back(tag);
242 
243  LogDebug("L1GtUtils") << "\nWARNING: Input tag for L1GtTriggerMenuLite product set to preferred input tag"
244  << (tag) << std::endl;
245  break;
246  }
247  }
248  }
249 
251  // check if other input tag was found - if true, there are multiple input tags in the event,
252  // none in the preferred input tags, so it is not possibly to choose safely an input tag
253 
254  if (m_inputTagsL1GtMenuLite.size() > 1) {
255  LogDebug("L1GtUtils") << "\nWARNING: Found multiple input tags for L1GtTriggerMenuLite product."
256  << "\nNone is in the preferred input tags - no safe choice."
257  << "\nInput tag already found: " << (m_l1GtTriggerMenuLiteInputTag)
258  << "\nActual tag: " << (tag) << "\nInput tag set to empty tag." << std::endl;
261 
262  } else {
265  m_inputTagsL1GtMenuLite.push_back(tag);
267 
268  LogDebug("L1GtUtils") << "\nWARNING: No preferred input tag found for L1GtTriggerMenuLite product."
269  << "\nInput tag set to " << (tag) << std::endl;
270  }
271  }
272  }
273  }
274 }

References edm::BranchDescription::branchType(), edm::ConsumesCollector::consumes(), edm::InEvent, HLT_FULL_cff::InputTag, edm::InputTag::instance(), edm::EDGetTokenT< T >::isUninitialized(), edm::InputTag::label(), LogDebug, m_consumesCollector, m_findMenuLite, m_findReadoutRecord, m_findRecord, m_foundMultipleL1GtMenuLite, m_foundMultipleL1GtReadoutRecord, m_foundMultipleL1GtRecord, m_foundPreferredMenuLite, m_foundPreferredReadoutRecord, m_foundPreferredRecord, m_inputTagsL1GtMenuLite, m_inputTagsL1GtReadoutRecord, m_inputTagsL1GtRecord, m_l1GtReadoutRecordInputTag, m_l1GtReadoutRecordToken, m_l1GtRecordInputTag, m_l1GtRecordToken, m_l1GtTriggerMenuLiteInputTag, m_l1GtTriggerMenuLiteToken, edm::BranchDescription::moduleLabel(), edm::InputTag::process(), edm::BranchDescription::processName(), edm::BranchDescription::productInstanceName(), GlobalPosition_Frontier_DevDB_cff::tag, and edm::BranchDescription::unwrappedTypeID().

Member Data Documentation

◆ m_consumesCollector

edm::ConsumesCollector L1GtUtilsHelper::m_consumesCollector
private

Definition at line 84 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_findMenuLite

bool L1GtUtilsHelper::m_findMenuLite
private

Definition at line 96 of file L1GtUtilsHelper.h.

Referenced by L1GtUtilsHelper(), and operator()().

◆ m_findReadoutRecord

bool L1GtUtilsHelper::m_findReadoutRecord
private

Definition at line 95 of file L1GtUtilsHelper.h.

Referenced by L1GtUtilsHelper(), and operator()().

◆ m_findRecord

bool L1GtUtilsHelper::m_findRecord
private

Definition at line 94 of file L1GtUtilsHelper.h.

Referenced by L1GtUtilsHelper(), and operator()().

◆ m_foundMultipleL1GtMenuLite

bool L1GtUtilsHelper::m_foundMultipleL1GtMenuLite
private

Definition at line 104 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_foundMultipleL1GtReadoutRecord

bool L1GtUtilsHelper::m_foundMultipleL1GtReadoutRecord
private

Definition at line 103 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_foundMultipleL1GtRecord

bool L1GtUtilsHelper::m_foundMultipleL1GtRecord
private

Definition at line 102 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_foundPreferredMenuLite

bool L1GtUtilsHelper::m_foundPreferredMenuLite
private

Definition at line 100 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_foundPreferredReadoutRecord

bool L1GtUtilsHelper::m_foundPreferredReadoutRecord
private

Definition at line 99 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_foundPreferredRecord

bool L1GtUtilsHelper::m_foundPreferredRecord
private

Definition at line 98 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_inputTagsL1GtMenuLite

std::vector<edm::InputTag> L1GtUtilsHelper::m_inputTagsL1GtMenuLite
private

Definition at line 109 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_inputTagsL1GtReadoutRecord

std::vector<edm::InputTag> L1GtUtilsHelper::m_inputTagsL1GtReadoutRecord
private

Definition at line 108 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_inputTagsL1GtRecord

std::vector<edm::InputTag> L1GtUtilsHelper::m_inputTagsL1GtRecord
private

Definition at line 107 of file L1GtUtilsHelper.h.

Referenced by operator()().

◆ m_l1GtReadoutRecordInputTag

edm::InputTag L1GtUtilsHelper::m_l1GtReadoutRecordInputTag
private

Definition at line 87 of file L1GtUtilsHelper.h.

Referenced by l1GtReadoutRecordInputTag(), L1GtUtilsHelper(), and operator()().

◆ m_l1GtReadoutRecordToken

edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> L1GtUtilsHelper::m_l1GtReadoutRecordToken
private

Definition at line 91 of file L1GtUtilsHelper.h.

Referenced by l1GtReadoutRecordToken(), L1GtUtilsHelper(), and operator()().

◆ m_l1GtRecordInputTag

edm::InputTag L1GtUtilsHelper::m_l1GtRecordInputTag
private

Definition at line 86 of file L1GtUtilsHelper.h.

Referenced by l1GtRecordInputTag(), L1GtUtilsHelper(), and operator()().

◆ m_l1GtRecordToken

edm::EDGetTokenT<L1GlobalTriggerRecord> L1GtUtilsHelper::m_l1GtRecordToken
private

Definition at line 90 of file L1GtUtilsHelper.h.

Referenced by l1GtRecordToken(), L1GtUtilsHelper(), and operator()().

◆ m_l1GtTriggerMenuLiteInputTag

edm::InputTag L1GtUtilsHelper::m_l1GtTriggerMenuLiteInputTag
private

Definition at line 88 of file L1GtUtilsHelper.h.

Referenced by l1GtTriggerMenuLiteInputTag(), L1GtUtilsHelper(), and operator()().

◆ m_l1GtTriggerMenuLiteToken

edm::EDGetTokenT<L1GtTriggerMenuLite> L1GtUtilsHelper::m_l1GtTriggerMenuLiteToken
private

Definition at line 92 of file L1GtUtilsHelper.h.

Referenced by l1GtTriggerMenuLiteToken(), L1GtUtilsHelper(), and operator()().

L1GtUtilsHelper::L1GtUtilsHelper
L1GtUtilsHelper(edm::ParameterSet const &pset, edm::ConsumesCollector &iC, bool useL1GtTriggerMenuLite)
Definition: L1GtUtilsHelper.cc:9
edm::InputTag::instance
std::string const & instance() const
Definition: InputTag.h:37
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89287
edm::EDGetTokenT::isUninitialized
constexpr bool isUninitialized() const noexcept
Definition: EDGetToken.h:99
edm::InputTag::process
std::string const & process() const
Definition: InputTag.h:40
L1GtUtilsHelper::m_foundMultipleL1GtReadoutRecord
bool m_foundMultipleL1GtReadoutRecord
Definition: L1GtUtilsHelper.h:103
edm::InRun
Definition: BranchType.h:11
L1GlobalTriggerReadoutRecord
Definition: L1GlobalTriggerReadoutRecord.h:46
L1GtUtilsHelper::m_l1GtTriggerMenuLiteInputTag
edm::InputTag m_l1GtTriggerMenuLiteInputTag
Definition: L1GtUtilsHelper.h:88
L1GtUtilsHelper::m_inputTagsL1GtMenuLite
std::vector< edm::InputTag > m_inputTagsL1GtMenuLite
Definition: L1GtUtilsHelper.h:109
edm::InputTag::label
std::string const & label() const
Definition: InputTag.h:36
L1GtUtilsHelper::m_foundMultipleL1GtMenuLite
bool m_foundMultipleL1GtMenuLite
Definition: L1GtUtilsHelper.h:104
L1GtUtilsHelper::m_inputTagsL1GtReadoutRecord
std::vector< edm::InputTag > m_inputTagsL1GtReadoutRecord
Definition: L1GtUtilsHelper.h:108
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
L1GtUtilsHelper::m_foundMultipleL1GtRecord
bool m_foundMultipleL1GtRecord
Definition: L1GtUtilsHelper.h:102
L1GtUtilsHelper::m_inputTagsL1GtRecord
std::vector< edm::InputTag > m_inputTagsL1GtRecord
Definition: L1GtUtilsHelper.h:107
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
edm::InEvent
Definition: BranchType.h:11
L1GtUtilsHelper::m_l1GtReadoutRecordToken
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtReadoutRecordToken
Definition: L1GtUtilsHelper.h:91
useL1GtTriggerMenuLite
static const bool useL1GtTriggerMenuLite(true)
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
L1GtUtilsHelper::m_findMenuLite
bool m_findMenuLite
Definition: L1GtUtilsHelper.h:96
L1GtUtilsHelper::m_foundPreferredReadoutRecord
bool m_foundPreferredReadoutRecord
Definition: L1GtUtilsHelper.h:99
L1GtUtilsHelper::l1GtRecordInputTag
edm::InputTag const & l1GtRecordInputTag() const
Definition: L1GtUtilsHelper.h:73
L1GtUtilsHelper::l1GtTriggerMenuLiteInputTag
edm::InputTag const & l1GtTriggerMenuLiteInputTag() const
Definition: L1GtUtilsHelper.h:75
L1GtUtilsHelper::m_l1GtReadoutRecordInputTag
edm::InputTag m_l1GtReadoutRecordInputTag
Definition: L1GtUtilsHelper.h:87
L1GtUtilsHelper::m_findRecord
bool m_findRecord
Definition: L1GtUtilsHelper.h:94
L1GtTriggerMenuLite
Definition: L1GtTriggerMenuLite.h:39
L1GtUtilsHelper::m_l1GtTriggerMenuLiteToken
edm::EDGetTokenT< L1GtTriggerMenuLite > m_l1GtTriggerMenuLiteToken
Definition: L1GtUtilsHelper.h:92
L1GtUtilsHelper::l1GtReadoutRecordInputTag
edm::InputTag const & l1GtReadoutRecordInputTag() const
Definition: L1GtUtilsHelper.h:74
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
edm::TypeID
Definition: TypeID.h:22
L1GtUtilsHelper::m_foundPreferredMenuLite
bool m_foundPreferredMenuLite
Definition: L1GtUtilsHelper.h:100
L1GtUtilsHelper::m_findReadoutRecord
bool m_findReadoutRecord
Definition: L1GtUtilsHelper.h:95
L1GtUtilsHelper::m_l1GtRecordToken
edm::EDGetTokenT< L1GlobalTriggerRecord > m_l1GtRecordToken
Definition: L1GtUtilsHelper.h:90
L1GtUtilsHelper::m_consumesCollector
edm::ConsumesCollector m_consumesCollector
Definition: L1GtUtilsHelper.h:84
L1GlobalTriggerRecord
Definition: L1GlobalTriggerRecord.h:33
L1GtUtilsHelper::m_foundPreferredRecord
bool m_foundPreferredRecord
Definition: L1GtUtilsHelper.h:98
edm::InputTag
Definition: InputTag.h:15
L1GtUtilsHelper::m_l1GtRecordInputTag
edm::InputTag m_l1GtRecordInputTag
Definition: L1GtUtilsHelper.h:86
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27