25 bool re_do_this_L2 =
true;
35 unsigned int maxI = l3muonH->size();
40 for (
unsigned int i = 0;
i !=
maxI; ++
i) {
46 if (staTrack == (muonTrackCand.second))
47 re_do_this_L2 =
false;
53 return re_do_this_L2 ? 1 : 0;
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< reco::TrackCollection > l3muonToken
bool getByToken(EDGetToken token, Handle< PROD > &result) const
DualByL2TSG(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
std::vector< Track > TrackCollection
collection of Tracks
unsigned int selectTSG(const TrackCand &, const TrackingRegion &) override
decide the TSG depending on the existence of a L3 track seeded from the L2. Return value is 0 or 1...
Log< level::Error, false > LogError
std::pair< const Trajectory *, reco::TrackRef > TrackCand
edm::Handle< reco::TrackCollection > l3muonH
const edm::Event * getEvent() const
T getParameter(std::string const &) const
edm::InputTag theL3CollectionLabelA