52 inputTag_ (config.getParameter<edm::InputTag>(
"inputTag")),
53 min_E_HB_ (config.getParameter<double> (
"MinE_HB")),
54 min_E_HE_ (config.getParameter<double> (
"MinE_HE")),
55 min_E_HF_ (config.getParameter<double> (
"MinE_HF")),
56 max_N_HB_ (config.getParameter<int> (
"MaxN_HB")),
57 max_N_HE_ (config.getParameter<int> (
"MaxN_HE")),
58 max_N_HF_ (config.getParameter<int> (
"MaxN_HF")),
64 if (config.
existsAs<
int>(
"MinN_HF")){
67 if (config.
existsAs<
int>(
"MinN_HFM")){
70 if (config.
existsAs<
int>(
"MinN_HFP")){
91 using namespace trigger;
121 else if(abseta>=1.305 && abseta<3)
137 if(
eta >= 3) { n_HFP++; }
else { n_HFM++; }
T getParameter(std::string const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
#define DEFINE_FWK_MODULE(type)
std::vector< CaloTower >::const_iterator const_iterator
HLTHcalTowerFilter(const edm::ParameterSet &)
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")