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