45 photTag_ (iConfig.getParameter<
edm::InputTag>(
"photTag")),
46 elecTag_ (iConfig.getParameter<
edm::InputTag>(
"elecTag")),
47 muonTag_ (iConfig.getParameter<
edm::InputTag>(
"muonTag")),
48 tausTag_ (iConfig.getParameter<
edm::InputTag>(
"tausTag")),
49 jetsTag_ (iConfig.getParameter<
edm::InputTag>(
"jetsTag")),
50 metsTag_ (iConfig.getParameter<
edm::InputTag>(
"metsTag")),
51 mhtsTag_ (iConfig.getParameter<
edm::InputTag>(
"mhtsTag")),
52 trckTag_ (iConfig.getParameter<
edm::InputTag>(
"trckTag")),
53 ecalTag_ (iConfig.getParameter<
edm::InputTag>(
"ecalTag")),
63 min_Pt_ (iConfig.getParameter<double>(
"MinPt"))
97 desc.
add<
double>(
"MinPt",-1.0);
98 descriptions.
add(
"hltFiltCand", desc);
107 using namespace reco;
156 auto aphot(photons->begin());
157 auto ophot(photons->end());
158 RecoEcalCandidateCollection::const_iterator iphot;
159 for (iphot=aphot; iphot!=ophot; iphot++) {
169 auto aelec(electrons->begin());
170 auto oelec(electrons->end());
171 ElectronCollection::const_iterator ielec;
172 for (ielec=aelec; ielec!=oelec; ielec++) {
182 auto amuon(muons->begin());
183 auto omuon(muons->end());
184 RecoChargedCandidateCollection::const_iterator imuon;
185 for (imuon=amuon; imuon!=omuon; imuon++) {
195 auto ataus(taus->begin());
196 auto otaus(taus->end());
197 CaloJetCollection::const_iterator itaus;
198 for (itaus=ataus; itaus!=otaus; itaus++) {
208 auto ajets(jets->begin());
209 auto ojets(jets->end());
210 CaloJetCollection::const_iterator ijets;
211 for (ijets=ajets; ijets!=ojets; ijets++) {
221 auto amets(mets->begin());
222 auto omets(mets->end());
223 CaloMETCollection::const_iterator imets;
224 for (imets=amets; imets!=omets; imets++) {
234 auto amhts(mhts->begin());
235 auto omhts(mhts->end());
236 METCollection::const_iterator imhts;
237 for (imhts=amhts; imhts!=omhts; imhts++) {
247 auto atrcks(trcks->begin());
248 auto otrcks(trcks->end());
249 RecoChargedCandidateCollection::const_iterator itrcks;
250 for (itrcks=atrcks; itrcks!=otrcks; itrcks++) {
260 auto aecals(ecals->begin());
261 auto oecals(ecals->end());
262 RecoEcalCandidateCollection::const_iterator iecals;
263 for (iecals=aecals; iecals!=oecals; iecals++) {
275 const bool accept ( (nphot>0) && (nelec>0) && (nmuon>0) && (ntaus>0) &&
277 (njets>0) && (nmets>0) && (ntrck>0) && (necal>0) );
279 LogDebug(
"") <<
"Number of g/e/m/t/j/M/H/TR/SC objects accepted:"
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > trckToken_
HLTFiltCand(const edm::ParameterSet &)
edm::EDGetTokenT< reco::CaloMETCollection > metsToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::ElectronCollection > elecToken_
edm::Ref< RecoChargedCandidateCollection > RecoChargedCandidateRef
reference to an object in a collection of RecoChargedCandidate objects
edm::Ref< RecoEcalCandidateCollection > RecoEcalCandidateRef
reference to an object in a collection of RecoEcalCandidate objects
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > muonToken_
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
edm::Ref< ElectronCollection > ElectronRef
reference to an object in a collection of Electron objects
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > photToken_
edm::EDGetTokenT< reco::CaloJetCollection > tausToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::vector< Electron > ElectronCollection
collectin of Electron objects
edm::Ref< CaloJetCollection > CaloJetRef
edm references
edm::EDGetTokenT< reco::CaloJetCollection > jetsToken_
std::vector< RecoChargedCandidate > RecoChargedCandidateCollection
collectin of RecoChargedCandidate objects
static void makeHLTFilterDescription(edm::ParameterSetDescription &desc)
edm::EDGetTokenT< reco::RecoEcalCandidateCollection > ecalToken_
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< RecoEcalCandidate > RecoEcalCandidateCollection
collectin of RecoEcalCandidate objects
edm::EDGetTokenT< reco::METCollection > mhtsToken_
edm::Ref< CaloMETCollection > CaloMETRef
edm references
edm::Ref< METCollection > METRef
edm references
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects