43 desc.
add<
double>(
"lowerMassCut",4.0);
44 desc.
add<
double>(
"upperMassCut",999999.0);
45 desc.
add<
int>(
"ncandcut",1);
50 descriptions.
add(
"hltElectronMuonInvMassFilter",desc);
76 vector< Ref< ElectronCollection > >
electrons;
79 vector<RecoChargedCandidateRef> l3muons;
82 std::vector<edm::Ref<reco::RecoEcalCandidateCollection>> clusCands;
83 if(electrons.empty()){
87 if(clusCands.empty()){
94 for(
auto & l3muon : l3muons) {
104 for(
auto & clusCand : clusCands) {
105 for(
auto & l3muon : l3muons) {
106 double mass = (clusCand->p4()+l3muon->p4()).
mass();
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
edm::InputTag eleCandTag_
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::InputTag muonCandTag_
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > eleCandToken_
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
#define DEFINE_FWK_MODULE(type)
edm::InputTag L1NonIsoCollTag_
HLTElectronMuonInvMassFilter(const edm::ParameterSet &)
edm::InputTag MuonCollTag_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static void makeHLTFilterDescription(edm::ParameterSetDescription &desc)
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > muonCandToken_
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void add(std::string const &label, ParameterSetDescription const &psetDescription)
~HLTElectronMuonInvMassFilter() override
edm::InputTag L1IsoCollTag_