46 photTag_ (iConfig.getParameter<edm::InputTag>(
"photTag")),
47 elecTag_ (iConfig.getParameter<edm::InputTag>(
"elecTag")),
48 muonTag_ (iConfig.getParameter<edm::InputTag>(
"muonTag")),
49 tausTag_ (iConfig.getParameter<edm::InputTag>(
"tausTag")),
50 jetsTag_ (iConfig.getParameter<edm::InputTag>(
"jetsTag")),
51 metsTag_ (iConfig.getParameter<edm::InputTag>(
"metsTag")),
52 mhtsTag_ (iConfig.getParameter<edm::InputTag>(
"mhtsTag")),
53 trckTag_ (iConfig.getParameter<edm::InputTag>(
"trckTag")),
54 ecalTag_ (iConfig.getParameter<edm::InputTag>(
"ecalTag")),
55 min_Pt_ (iConfig.getParameter<double>(
"MinPt"))
85 using namespace trigger;
133 RecoEcalCandidateCollection::const_iterator aphot(
photons->begin());
134 RecoEcalCandidateCollection::const_iterator ophot(
photons->end());
135 RecoEcalCandidateCollection::const_iterator iphot;
136 for (iphot=aphot; iphot!=ophot; iphot++) {
146 ElectronCollection::const_iterator aelec(
electrons->begin());
147 ElectronCollection::const_iterator oelec(
electrons->end());
148 ElectronCollection::const_iterator ielec;
149 for (ielec=aelec; ielec!=oelec; ielec++) {
159 RecoChargedCandidateCollection::const_iterator amuon(
muons->begin());
160 RecoChargedCandidateCollection::const_iterator omuon(
muons->end());
161 RecoChargedCandidateCollection::const_iterator imuon;
162 for (imuon=amuon; imuon!=omuon; imuon++) {
172 CaloJetCollection::const_iterator ataus(taus->begin());
173 CaloJetCollection::const_iterator otaus(taus->end());
174 CaloJetCollection::const_iterator itaus;
175 for (itaus=ataus; itaus!=otaus; itaus++) {
185 CaloJetCollection::const_iterator ajets(
jets->begin());
186 CaloJetCollection::const_iterator ojets(
jets->end());
187 CaloJetCollection::const_iterator ijets;
188 for (ijets=ajets; ijets!=ojets; ijets++) {
198 CaloMETCollection::const_iterator amets(mets->begin());
199 CaloMETCollection::const_iterator omets(mets->end());
200 CaloMETCollection::const_iterator imets;
201 for (imets=amets; imets!=omets; imets++) {
211 METCollection::const_iterator amhts(mhts->begin());
212 METCollection::const_iterator omhts(mhts->end());
213 METCollection::const_iterator imhts;
214 for (imhts=amhts; imhts!=omhts; imhts++) {
224 RecoChargedCandidateCollection::const_iterator atrcks(trcks->begin());
225 RecoChargedCandidateCollection::const_iterator otrcks(trcks->end());
226 RecoChargedCandidateCollection::const_iterator itrcks;
227 for (itrcks=atrcks; itrcks!=otrcks; itrcks++) {
237 RecoEcalCandidateCollection::const_iterator aecals(ecals->begin());
238 RecoEcalCandidateCollection::const_iterator oecals(ecals->end());
239 RecoEcalCandidateCollection::const_iterator iecals;
240 for (iecals=aecals; iecals!=oecals; iecals++) {
252 const bool accept ( (nphot>0) && (nelec>0) && (nmuon>0) && (ntaus>0) &&
254 (njets>0) && (nmets>0) && (ntrck>0) && (necal>0) );
256 LogDebug(
"") <<
"Number of g/e/m/t/j/M/H/TR/SC objects accepted:"
HLTFiltCand(const edm::ParameterSet &)
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
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>)
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::Ref< CaloJetCollection > CaloJetRef
edm references
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
edm::Ref< CaloMETCollection > CaloMETRef
edm references
edm::Ref< METCollection > METRef
edm references