64 bool isOneNominalInTime =
false;
65 bool isTwoLooseInTime =
false;
66 bool isOneTightInTime =
false;
68 for (
size_t i = 0;
i < emtfShowers->size(0); ++
i) {
69 auto shower = emtfShowers->at(0,
i);
70 if (shower.isValid()) {
72 if (shower.isOneNominalInTime())
73 isOneNominalInTime =
true;
75 if (shower.isTwoLooseInTime())
76 isTwoLooseInTime =
true;
78 if (shower.isOneTightInTime())
79 isOneTightInTime =
true;
84 const bool acceptCondition(isOneNominalInTime
or isTwoLooseInTime
or isOneTightInTime);
86 if (acceptCondition) {
87 MuonShower outShower(isOneNominalInTime,
false, isTwoLooseInTime,
false, isOneTightInTime,
false);
88 outShowers->push_back(0, outShower);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
bool getByToken(EDGetToken token, Handle< PROD > &result) const
BXVector< MuonShower > MuonShowerBxCollection
edm::EDGetTokenT< l1t::RegionalMuonShowerBxCollection > showerInputToken_