51 if (branchDescription.dropped()) {
55 std::vector<edm::InputTag> preferredL1TAlgBlkInputTag = {
edm::InputTag(
"gtStage2Digis"),
58 std::vector<edm::InputTag> preferredL1TExtBlkInputTag = {
edm::InputTag(
"gtStage2Digis"),
67 branchDescription.moduleLabel(), branchDescription.productInstanceName(), branchDescription.processName()};
78 LogDebug(
"L1TGlobalUtil") <<
"\nWARNING: Found multiple preferred input tags for GlobalAlgBlkBxCollection, " 79 <<
"\nwith different instaces or processes." 81 <<
"\nInput tag set to empty tag." << std::endl;
88 for (std::vector<edm::InputTag>::const_iterator itPrefTag = preferredL1TAlgBlkInputTag.begin(),
89 itPrefTagEnd = preferredL1TAlgBlkInputTag.end();
90 itPrefTag != itPrefTagEnd;
92 if (branchDescription.moduleLabel() == itPrefTag->label()) {
99 <<
"\nWARNING: Input tag for GlobalAlgBlkBxCollection product set to preferred input tag" << (
tag)
111 LogDebug(
"L1TGlobalUtil") <<
"\nWARNING: Found multiple input tags for GlobalAlgBlkBxCollection product." 112 <<
"\nNone is in the preferred input tags - no safe choice." 114 <<
"\nInput tag set to empty tag." << std::endl;
124 LogDebug(
"L1TGlobalUtil") <<
"\nWARNING: No preferred input tag found for GlobalAlgBlkBxCollection." 125 <<
"\nInput tag set to " << (
tag) << std::endl;
137 branchDescription.moduleLabel(), branchDescription.productInstanceName(), branchDescription.processName()};
148 LogDebug(
"L1TGlobalUtil") <<
"\nWARNING: Found multiple preferred input tags for GlobalExtBlkBxCollection, " 149 <<
"\nwith different instaces or processes." 151 <<
"\nInput tag set to empty tag." << std::endl;
159 for (std::vector<edm::InputTag>::const_iterator itPrefTag = preferredL1TExtBlkInputTag.begin(),
160 itPrefTagEnd = preferredL1TExtBlkInputTag.end();
161 itPrefTag != itPrefTagEnd;
163 if (branchDescription.moduleLabel() == itPrefTag->label()) {
170 <<
"\nWARNING: Input tag for GlobalExtBlkBxCollection product set to preferred input tag" << (
tag)
182 LogDebug(
"L1TGlobalUtil") <<
"\nWARNING: Found multiple input tags for GlobalExtBlkBxCollection." 183 <<
"\nNone is in the preferred input tags - no safe choice." 185 <<
"\nInput tag set to empty tag." << std::endl;
195 LogDebug(
"L1TGlobalUtil") <<
"\nWARNING: No preferred input tag found for GlobalExtBlkBxCollection product." 196 <<
"\nInput tag set to " << (
tag) << std::endl;
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
bool m_foundMultipleL1TExtBlk
std::vector< edm::InputTag > m_inputTagsL1TAlgBlk
bool m_foundMultipleL1TAlgBlk
std::vector< edm::InputTag > m_inputTagsL1TExtBlk
edm::EDGetTokenT< GlobalExtBlkBxCollection > m_l1tExtBlkToken
bool m_foundPreferredL1TExtBlk
edm::ConsumesCollector m_consumesCollector
edm::EDGetTokenT< GlobalAlgBlkBxCollection > m_l1tAlgBlkToken
edm::InputTag m_l1tAlgBlkInputTag
edm::InputTag m_l1tExtBlkInputTag
bool m_foundPreferredL1TAlgBlk