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")),
64 min_Pt_(iConfig.getParameter<double>(
"MinPt")) {
89 desc.add<
double>(
"MinPt", -1.0);
90 descriptions.
add(
"hltFiltCand",
desc);
149 RecoEcalCandidateCollection::const_iterator iphot;
150 for (iphot = aphot; iphot != ophot; iphot++) {
162 ElectronCollection::const_iterator ielec;
163 for (ielec = aelec; ielec != oelec; ielec++) {
173 auto amuon(
muons->begin());
174 auto omuon(
muons->end());
175 RecoChargedCandidateCollection::const_iterator imuon;
176 for (imuon = amuon; imuon != omuon; imuon++) {
186 auto ataus(
taus->begin());
187 auto otaus(
taus->end());
188 CaloJetCollection::const_iterator itaus;
189 for (itaus = ataus; itaus != otaus; itaus++) {
199 auto ajets(
jets->begin());
200 auto ojets(
jets->end());
201 CaloJetCollection::const_iterator ijets;
202 for (ijets = ajets; ijets != ojets; ijets++) {
212 auto amets(
mets->begin());
213 auto omets(
mets->end());
214 CaloMETCollection::const_iterator imets;
215 for (imets = amets; imets != omets; imets++) {
225 auto amhts(mhts->begin());
226 auto omhts(mhts->end());
227 METCollection::const_iterator imhts;
228 for (imhts = amhts; imhts != omhts; imhts++) {
238 auto atrcks(trcks->begin());
239 auto otrcks(trcks->end());
240 RecoChargedCandidateCollection::const_iterator itrcks;
241 for (itrcks = atrcks; itrcks != otrcks; itrcks++) {
251 auto aecals(ecals->begin());
252 auto oecals(ecals->end());
253 RecoEcalCandidateCollection::const_iterator iecals;
254 for (iecals = aecals; iecals != oecals; iecals++) {
266 const bool accept((nphot > 0) && (nelec > 0) && (nmuon > 0) && (
ntaus > 0) &&
268 (
njets > 0) && (nmets > 0) && (ntrck > 0) && (necal > 0));
270 LogDebug(
"") <<
"Number of g/e/m/t/j/M/H/TR/SC objects accepted:" 271 <<
" " << nphot <<
" " << nelec <<
" " << nmuon <<
" " <<
ntaus <<
" " <<
njets <<
" " << nmets <<
" " 272 << nmhts <<
" " << ntrck <<
" " << necal;
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > trckToken_
HLTFiltCand(const edm::ParameterSet &)
edm::EDGetTokenT< reco::CaloMETCollection > metsToken_
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_
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
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_
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_
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
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