Definition at line 22 of file L1TMuonShowerProducer.cc.
◆ L1TMuonShowerProducer()
Definition at line 38 of file L1TMuonShowerProducer.cc.
43 produces<MuonShowerBxCollection>();
T getParameter(std::string const &) const
edm::EDGetTokenT< l1t::RegionalMuonShowerBxCollection > showerInputToken_
edm::InputTag showerInputTag_
◆ ~L1TMuonShowerProducer()
L1TMuonShowerProducer::~L1TMuonShowerProducer |
( |
| ) |
|
|
override |
◆ fillDescriptions()
◆ produce()
Definition at line 49 of file L1TMuonShowerProducer.cc.
References BXVector< T >::at(), bxMax_, bxMin_, mps_fire::i, iEvent, eostools::move(), or, showerInputToken_, and BXVector< T >::size().
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);
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_
◆ bxMax_
int L1TMuonShowerProducer::bxMax_ |
|
private |
◆ bxMin_
int L1TMuonShowerProducer::bxMin_ |
|
private |
◆ showerInputTag_
◆ showerInputToken_