30 inputJetTag_ (iConfig.
template getParameter<
edm::InputTag > (
"inputJetTag")),
31 m_theJetToken(consumes<
std::vector<
T>>(inputJetTag_)),
32 minPtJet_ (iConfig.
template getParameter<double> (
"minPtJet")),
34 jetEtaMin_ (iConfig.
template getParameter<double> (
"minJetEta")),
35 jetEtaMax_ (iConfig.
template getParameter<double> (
"maxJetEta")),
36 applyAbsToJet_ (iConfig.
template getParameter<
bool> (
"applyAbsToJet")),
38 triggerType_ (iConfig.
template getParameter<
int> (
"triggerType"))
40 LogDebug(
"") <<
"HLTJetEtaTopologyFilter: Input/minDphi/triggerType : " 54 desc.
add<
double>(
"minPtJet",50.0);
56 desc.
add<
double>(
"minJetEta", -1.);
57 desc.
add<
double>(
"maxJetEta", 1.4);
58 desc.
add<
bool> (
"applyAbsToJet",
false),
73 typedef vector<T> TCollection;
85 if(!objects->empty()){
86 typename TCollection::const_iterator iEnd ( objects->end() );
87 typename TCollection::const_iterator iJet ( objects->begin() );
88 for (;iJet != iEnd; ++iJet){
90 float eta = iJet->eta();
95 if ( eta < jetEtaMin_ || eta >
jetEtaMax_ )
continue;
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::string defaultModuleLabel()
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
HLTJetEtaTopologyFilter(const edm::ParameterSet &)
Abs< T >::type abs(const T &t)
def template(fileName, svg, replaceme="REPLACEME")
ParameterDescriptionBase * add(U const &iLabel, T const &value)
~HLTJetEtaTopologyFilter() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const bool applyAbsToJet_
static void makeHLTFilterDescription(edm::ParameterSetDescription &desc)
const edm::EDGetTokenT< std::vector< T > > m_theJetToken
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const edm::InputTag inputJetTag_