55 std::vector<edm::InputTag> preferredL1TAlgBlkInputTag = {
58 std::vector<edm::InputTag> preferredL1TExtBlkInputTag = {
65 && (branchDescription.unwrappedTypeID()
70 branchDescription.productInstanceName(),
71 branchDescription.processName() };
81 != branchDescription.productInstanceName())
83 != branchDescription.processName()))) {
86 <<
"\nWARNING: Found multiple preferred input tags for GlobalAlgBlkBxCollection, " 87 <<
"\nwith different instaces or processes." 88 <<
"\nInput tag already found: " 90 <<
"\nInput tag set to empty tag." << std::endl;
97 for (std::vector<edm::InputTag>::const_iterator itPrefTag =
98 preferredL1TAlgBlkInputTag.begin(), itPrefTagEnd =
99 preferredL1TAlgBlkInputTag.end();
100 itPrefTag != itPrefTagEnd; ++itPrefTag) {
102 if (branchDescription.moduleLabel() == itPrefTag->label()) {
109 <<
"\nWARNING: Input tag for GlobalAlgBlkBxCollection product set to preferred input tag" 110 << (
tag) << std::endl;
124 <<
"\nWARNING: Found multiple input tags for GlobalAlgBlkBxCollection product." 125 <<
"\nNone is in the preferred input tags - no safe choice." 126 <<
"\nInput tag already found: " 128 <<
"\nInput tag set to empty tag." << std::endl;
140 <<
"\nWARNING: No preferred input tag found for GlobalAlgBlkBxCollection." 141 <<
"\nInput tag set to " << (
tag) << std::endl;
150 && (branchDescription.unwrappedTypeID()
155 branchDescription.productInstanceName(),
156 branchDescription.processName() };
166 == branchDescription.moduleLabel())
168 != branchDescription.productInstanceName())
170 != branchDescription.processName()))) {
173 <<
"\nWARNING: Found multiple preferred input tags for GlobalExtBlkBxCollection, " 174 <<
"\nwith different instaces or processes." 175 <<
"\nInput tag already found: " 177 << (
tag) <<
"\nInput tag set to empty tag." 186 for (std::vector<edm::InputTag>::const_iterator itPrefTag =
187 preferredL1TExtBlkInputTag.begin(), itPrefTagEnd =
188 preferredL1TExtBlkInputTag.end();
189 itPrefTag != itPrefTagEnd; ++itPrefTag) {
191 if (branchDescription.moduleLabel() == itPrefTag->label()) {
198 <<
"\nWARNING: Input tag for GlobalExtBlkBxCollection product set to preferred input tag" 199 << (
tag) << std::endl;
213 <<
"\nWARNING: Found multiple input tags for GlobalExtBlkBxCollection." 214 <<
"\nNone is in the preferred input tags - no safe choice." 215 <<
"\nInput tag already found: " 217 << (
tag) <<
"\nInput tag set to empty tag." 230 <<
"\nWARNING: No preferred input tag found for GlobalExtBlkBxCollection product." 231 <<
"\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