98 : m_validOnly(iConfig.getParameter<bool>(
"onlyValidRecHit")),
101 m_debug(iConfig.getUntrackedParameter<bool>(
"debugMode",
false)),
102 m_tsoshm(iConfig.getParameter<edm::
ParameterSet>(
"tsosHMConf")) {
107 m_ptrk = tfserv->
make<TH1F>(
"trkmomentum",
"Refitted Track momentum", 100, 0., 200.);
108 m_etatrk = tfserv->
make<TH1F>(
"trketa",
"Refitted Track pseudorapidity", 100, -4., 4.);
138 const std::vector<TrajectoryMeasurement>& tmcoll = traj->measurements();
143 for (std::vector<TrajectoryMeasurement>::const_iterator meas = tmcoll.begin(); meas != tmcoll.end(); ++meas) {
144 if (!meas->updatedState().isValid())
156 if (selector.
isSelected(hit->geographicalId())) {
friend struct const_iterator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void fill(const TrajectoryStateOnSurface &tsos, TransientTrackingRecHit::ConstRecHitPointer hit) const
T * make(const Args &...args) const
make new ROOT object
key_type key() const
Accessor for product key.
bool isSelected(const DetId &detid) const
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
Log< level::Info, false > LogInfo
void analyze(const edm::Event &, const edm::EventSetup &) override
TSOSHistogramMaker m_tsoshm
edm::EDGetTokenT< TrajTrackAssociationCollection > m_ttacollToken
void endRun(const edm::Run &, const edm::EventSetup &) override
ClusterRef cluster() const
void beginRun(const edm::Run &, const edm::EventSetup &) override
OverlapProblemTSOSAnalyzer(const edm::ParameterSet &)
~OverlapProblemTSOSAnalyzer() override