64 bool isOneNominalInTime{
false};
65 bool isTwoLooseInTime{
false};
66 bool isOneTightInTime{
false};
67 bool isTwoLooseDifferentSectorsInTime{
false};
69 bool foundOneLoose{
false};
70 for (
size_t i = 0;
i < emtfShowers->
size(0); ++
i) {
71 auto shower = emtfShowers->
at(0,
i);
72 if (shower.isValid()) {
74 if (shower.isOneNominalInTime()) {
75 isOneNominalInTime =
true;
78 if (shower.isTwoLooseInTime()) {
79 isTwoLooseInTime =
true;
82 if (shower.isOneTightInTime()) {
83 isOneTightInTime =
true;
86 if (shower.isOneLooseInTime()) {
88 isTwoLooseDifferentSectorsInTime =
true;
97 const bool acceptCondition{isOneNominalInTime
or isTwoLooseInTime
or isOneTightInTime
or 98 isTwoLooseDifferentSectorsInTime};
100 if (acceptCondition) {
102 isOneNominalInTime,
false, isTwoLooseInTime,
false, isOneTightInTime,
false, isTwoLooseDifferentSectorsInTime);
103 outShowers->push_back(0, outShower);
unsigned size(int bx) const
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::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
BXVector< MuonShower > MuonShowerBxCollection
const T & at(int bx, unsigned i) const
edm::EDGetTokenT< l1t::RegionalMuonShowerBxCollection > showerInputToken_