66 std::vector<edm::InputTag> preferredL1GtRecordInputTag = {
edm::InputTag(
69 std::vector<edm::InputTag> preferredL1GtReadoutRecordInputTag = {
72 std::vector<edm::InputTag> preferredL1GtTriggerMenuLiteInputTag = {
78 && (branchDescription.unwrappedTypeID()
83 branchDescription.productInstanceName(),
84 branchDescription.processName() };
94 != branchDescription.productInstanceName())
96 != branchDescription.processName()))) {
99 <<
"\nWARNING: Found multiple preferred input tags for L1GlobalTriggerRecord product, " 100 <<
"\nwith different instaces or processes." 101 <<
"\nInput tag already found: " 103 <<
"\nInput tag set to empty tag." << std::endl;
110 for (std::vector<edm::InputTag>::const_iterator itPrefTag =
111 preferredL1GtRecordInputTag.begin(), itPrefTagEnd =
112 preferredL1GtRecordInputTag.end();
113 itPrefTag != itPrefTagEnd; ++itPrefTag) {
115 if (branchDescription.moduleLabel() == itPrefTag->label()) {
123 <<
"\nWARNING: Input tag for L1GlobalTriggerRecord product set to preferred input tag" 124 << (
tag) << std::endl;
138 <<
"\nWARNING: Found multiple input tags for L1GlobalTriggerRecord product." 139 <<
"\nNone is in the preferred input tags - no safe choice." 140 <<
"\nInput tag already found: " 142 <<
"\nInput tag set to empty tag." << std::endl;
155 <<
"\nWARNING: No preferred input tag found for L1GlobalTriggerReadoutRecord product." 156 <<
"\nInput tag set to " << (
tag) << std::endl;
166 && (branchDescription.unwrappedTypeID()
171 branchDescription.productInstanceName(),
172 branchDescription.processName() };
182 == branchDescription.moduleLabel())
184 != branchDescription.productInstanceName())
186 != branchDescription.processName()))) {
189 <<
"\nWARNING: Found multiple preferred input tags for L1GlobalTriggerReadoutRecord product, " 190 <<
"\nwith different instaces or processes." 191 <<
"\nInput tag already found: " 193 << (
tag) <<
"\nInput tag set to empty tag." 202 for (std::vector<edm::InputTag>::const_iterator itPrefTag =
203 preferredL1GtReadoutRecordInputTag.begin(), itPrefTagEnd =
204 preferredL1GtReadoutRecordInputTag.end();
205 itPrefTag != itPrefTagEnd; ++itPrefTag) {
207 if (branchDescription.moduleLabel() == itPrefTag->label()) {
215 <<
"\nWARNING: Input tag for L1GlobalTriggerReadoutRecord product set to preferred input tag" 216 << (
tag) << std::endl;
230 <<
"\nWARNING: Found multiple input tags for L1GlobalTriggerReadoutRecord product." 231 <<
"\nNone is in the preferred input tags - no safe choice." 232 <<
"\nInput tag already found: " 234 << (
tag) <<
"\nInput tag set to empty tag." 248 <<
"\nWARNING: No preferred input tag found for L1GlobalTriggerReadoutRecord product." 249 <<
"\nInput tag set to " << (
tag) << std::endl;
261 && (branchDescription.unwrappedTypeID()
266 branchDescription.productInstanceName(),
267 branchDescription.processName() };
277 == branchDescription.moduleLabel())
279 != branchDescription.productInstanceName())
281 != branchDescription.processName()))) {
284 <<
"\nWARNING: Found multiple preferred input tags for L1GtTriggerMenuLite product, " 285 <<
"\nwith different instaces or processes." 286 <<
"\nInput tag already found: " 288 <<
"\nInput tag set to empty tag." << std::endl;
296 for (std::vector<edm::InputTag>::const_iterator itPrefTag =
297 preferredL1GtTriggerMenuLiteInputTag.begin(), itPrefTagEnd =
298 preferredL1GtTriggerMenuLiteInputTag.end();
299 itPrefTag != itPrefTagEnd; ++itPrefTag) {
301 if (branchDescription.moduleLabel() == itPrefTag->label()) {
309 <<
"\nWARNING: Input tag for L1GtTriggerMenuLite product set to preferred input tag" 310 << (
tag) << std::endl;
324 <<
"\nWARNING: Found multiple input tags for L1GtTriggerMenuLite product." 325 <<
"\nNone is in the preferred input tags - no safe choice." 326 <<
"\nInput tag already found: " 328 <<
"\nInput tag set to empty tag." << std::endl;
341 <<
"\nWARNING: No preferred input tag found for L1GtTriggerMenuLite product." 342 <<
"\nInput tag set to " << (
tag) << std::endl;
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::InputTag m_l1GtReadoutRecordInputTag
edm::EDGetTokenT< L1GtTriggerMenuLite > m_l1GtTriggerMenuLiteToken
std::vector< edm::InputTag > m_inputTagsL1GtReadoutRecord
edm::InputTag m_l1GtTriggerMenuLiteInputTag
edm::InputTag m_l1GtRecordInputTag
std::vector< edm::InputTag > m_inputTagsL1GtMenuLite
bool m_foundMultipleL1GtReadoutRecord
std::vector< edm::InputTag > m_inputTagsL1GtRecord
bool m_foundMultipleL1GtRecord
edm::EDGetTokenT< L1GlobalTriggerRecord > m_l1GtRecordToken
bool m_foundMultipleL1GtMenuLite
edm::ConsumesCollector m_consumesCollector
bool m_foundPreferredReadoutRecord
bool m_foundPreferredMenuLite
bool m_foundPreferredRecord
bool isUninitialized() const
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > m_l1GtReadoutRecordToken