40 theRadius( pset.getParameter<double>(
"radius") ),
41 theMaxZ( pset.getParameter<double>(
"maxZ") ),
42 thePixHits( pset.getParameter<unsigned
int>(
"PixHits") ),
43 theTkLayers( pset.getParameter<unsigned
int>(
"TkLayers") ),
44 theMuonHits( pset.getParameter<unsigned
int>(
"MuonHits") ),
85 throw cms::Exception(
"Configuration") <<
"the propagator " <<
thePropagatorName <<
" should be configured with PropagationDirection = \"anyDirection\"" << std::endl;
99 reco::TrackCollection::const_iterator staTrack;
101 for (staTrack = staTracks->begin(); staTrack != staTracks->end(); ++staTrack){
112 LogDebug(
"HLTMuonPointing") <<
" InnerTSOS " << innerTSOS;
118 LogDebug(
"HLTMuonPointing") <<
" extrap TSOS " << tsosAtCyl
119 <<
" number of pixel hits " << pixelHits
120 <<
" number of tracker layers with interactions " << trkLayers
121 <<
" number of muon hits " << nMuonHits;
134 <<
" number of pixel hits " << pixelHits
135 <<
" number of tracker layers with interactions " << trkLayers
136 <<
" number of muon hits " << nMuonHits;
156 LogDebug(
"HLTMuonPointing") <<
" extrap to plane failed ";
159 LogDebug(
"HLTMuonPointing") <<
" extrap to cyl failed ";
171 desc.
add<
std::string>(
"PropagatorName",
"SteppingHelixPropagatorAny");
172 desc.
add<
double>(
"radius", 90.0);
173 desc.
add<
double>(
"maxZ", 280.0);
174 desc.
add<
unsigned int>(
"PixHits", 0);
175 desc.
add<
unsigned int>(
"TkLayers", 0);
176 desc.
add<
unsigned int>(
"MuonHits", 0);
178 descriptions.
add(
"hltMuonPointingFilter", desc);
T getParameter(std::string const &) const
unsigned long long cacheIdentifier() const
virtual Propagator * clone() const =0
HLTMuonPointingFilter(const edm::ParameterSet &)
Constructor.
const unsigned int thePixHits
Plane::PlanePointer thePosPlane
const HitPattern & hitPattern() const
std::vector< Track > TrackCollection
collection of Tracks
Propagator * thePropagator
GlobalPoint globalPosition() const
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
int trackerLayersWithMeasurement() const
Plane::PlanePointer theNegPlane
TrajectoryStateOnSurface innermostMeasurementState() const
bool filter(edm::Event &, edm::EventSetup const &) override
static CylinderPointer build(const PositionType &pos, const RotationType &rot, Scalar radius, Bounds *bounds=0)
#define DEFINE_FWK_MODULE(type)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
virtual PropagationDirection propagationDirection() const final
Cylinder::CylinderPointer theCyl
~HLTMuonPointingFilter() override
Destructor.
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
static PlanePointer build(Args &&...args)
FreeTrajectoryState const * freeState(bool withErrors=true) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const unsigned int theMuonHits
unsigned long long m_cacheRecordId
const edm::EDGetTokenT< reco::TrackCollection > theSTAMuonToken
const unsigned int theTkLayers
void add(std::string const &label, ParameterSetDescription const &psetDescription)
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
const std::string thePropagatorName
int numberOfValidPixelHits() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
int numberOfValidMuonHits() const
T const * product() const