55 if (branchDescription.dropped()) {
return; }
57 std::vector<edm::InputTag> preferredL1TAlgBlkInputTag = {
60 std::vector<edm::InputTag> preferredL1TExtBlkInputTag = {
67 && (branchDescription.unwrappedTypeID()
72 branchDescription.productInstanceName(),
73 branchDescription.processName() };
83 != branchDescription.productInstanceName())
85 != branchDescription.processName()))) {
88 <<
"\nWARNING: Found multiple preferred input tags for GlobalAlgBlkBxCollection, " 89 <<
"\nwith different instaces or processes." 90 <<
"\nInput tag already found: " 92 <<
"\nInput tag set to empty tag." << std::endl;
99 for (std::vector<edm::InputTag>::const_iterator itPrefTag =
100 preferredL1TAlgBlkInputTag.begin(), itPrefTagEnd =
101 preferredL1TAlgBlkInputTag.end();
102 itPrefTag != itPrefTagEnd; ++itPrefTag) {
104 if (branchDescription.moduleLabel() == itPrefTag->label()) {
111 <<
"\nWARNING: Input tag for GlobalAlgBlkBxCollection product set to preferred input tag" 112 << (
tag) << std::endl;
126 <<
"\nWARNING: Found multiple input tags for GlobalAlgBlkBxCollection product." 127 <<
"\nNone is in the preferred input tags - no safe choice." 128 <<
"\nInput tag already found: " 130 <<
"\nInput tag set to empty tag." << std::endl;
142 <<
"\nWARNING: No preferred input tag found for GlobalAlgBlkBxCollection." 143 <<
"\nInput tag set to " << (
tag) << std::endl;
152 && (branchDescription.unwrappedTypeID()
157 branchDescription.productInstanceName(),
158 branchDescription.processName() };
168 == branchDescription.moduleLabel())
170 != branchDescription.productInstanceName())
172 != branchDescription.processName()))) {
175 <<
"\nWARNING: Found multiple preferred input tags for GlobalExtBlkBxCollection, " 176 <<
"\nwith different instaces or processes." 177 <<
"\nInput tag already found: " 179 << (
tag) <<
"\nInput tag set to empty tag." 188 for (std::vector<edm::InputTag>::const_iterator itPrefTag =
189 preferredL1TExtBlkInputTag.begin(), itPrefTagEnd =
190 preferredL1TExtBlkInputTag.end();
191 itPrefTag != itPrefTagEnd; ++itPrefTag) {
193 if (branchDescription.moduleLabel() == itPrefTag->label()) {
200 <<
"\nWARNING: Input tag for GlobalExtBlkBxCollection product set to preferred input tag" 201 << (
tag) << std::endl;
215 <<
"\nWARNING: Found multiple input tags for GlobalExtBlkBxCollection." 216 <<
"\nNone is in the preferred input tags - no safe choice." 217 <<
"\nInput tag already found: " 219 << (
tag) <<
"\nInput tag set to empty tag." 232 <<
"\nWARNING: No preferred input tag found for GlobalExtBlkBxCollection product." 233 <<
"\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