template<typename Fitter, typename InputCollection = reco::CandidateCollection, typename OutputCollection = InputCollection, typename Init = typename ::reco::modules::EventSetupInit<Fitter>::type>
class ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >
Definition at line 20 of file ConstrainedFitCandProducer.h.
template<typename Fitter , typename InputCollection , typename OutputCollection , typename Init >
Definition at line 45 of file ConstrainedFitCandProducer.h.
References isoTrack_cff::alias, looper::cfg, spr::find(), newFWLiteAna::found, ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::pdgId_, ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::setLongLived_, ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::setMassConstraint_, ConstrainedFitCandProducer< Fitter, InputCollection, OutputCollection, Init >::setPdgId_, and AlCaHLTBitMon_QueryRunRegistry::string.
47 :
srcToken_(consumes<InputCollection>(
cfg.template getParameter<edm::InputTag>(
"src"))),
53 produces<OutputCollection>();
56 std::vector<std::string> vBoolParams =
cfg.template getParameterNamesForType<bool>();
57 bool found =
find(vBoolParams.begin(), vBoolParams.end(), setLongLived) != vBoolParams.end();
60 const std::string setMassConstraint(
"setMassConstraint");
61 found =
find(vBoolParams.begin(), vBoolParams.end(), setMassConstraint) != vBoolParams.end();
65 std::vector<std::string> vIntParams =
cfg.getParameterNamesForType<
int>();
66 found =
find(vIntParams.begin(), vIntParams.end(), setPdgId) != vIntParams.end();
69 pdgId_ =
cfg.getParameter<
int>(
"setPdgId");
edm::EDGetTokenT< InputCollection > srcToken_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)