1 #ifndef HLTrigger_HLTTrackWithHits_H 32 minN_(iConfig.getParameter<
int>(
"MinN")),
33 maxN_(iConfig.getParameter<
int>(
"MaxN")),
37 MinPT_(iConfig.getParameter<double>(
"MinPT")) {
47 desc.
add<
int>(
"MinN", 0);
48 desc.
add<
int>(
"MaxN", 99999);
49 desc.
add<
int>(
"MinBPX", 0);
50 desc.
add<
int>(
"MinFPX", 0);
51 desc.
add<
int>(
"MinPXL", 0);
52 desc.
add<
double>(
"MinPT", 0.);
53 descriptions.
add(
"hltTrackWithHits", desc);
62 int s = oHandle->size();
64 for (
int i = 0;
i !=
s; ++
i) {
84 LogDebug(
"HLTTrackWithHits") <<
module(iEvent) <<
" sees: " << s <<
" objects. Only: " << count
85 <<
" satisfy the hit requirement. Filter answer is: " << (answer ?
"true" :
"false")
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
int numberOfValidPixelBarrelHits() const
double pt() const
track transverse momentum
int module(edm::Event const &) const
HLTTrackWithHits(const edm::ParameterSet &iConfig)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static void makeHLTFilterDescription(edm::ParameterSetDescription &desc)
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
void add(std::string const &label, ParameterSetDescription const &psetDescription)
int numberOfValidPixelEndcapHits() const
edm::EDGetTokenT< reco::TrackCollection > srcToken_
int numberOfValidPixelHits() const
bool hltFilter(edm::Event &iEvent, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
~HLTTrackWithHits() override