Go to the documentation of this file.
98 : m_validOnly(iConfig.getParameter<
bool>(
"onlyValidRecHit")),
101 m_debug(iConfig.getUntrackedParameter<
bool>(
"debugMode",
false)),
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())
157 const SiPixelRecHit* pixelrh = dynamic_cast<const SiPixelRecHit*>(
hit->hit());
ClusterRef cluster() const
const_iterator end() const
last iterator over the map (read only)
void beginRun(const edm::Run &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
~OverlapProblemTSOSAnalyzer() override
friend struct const_iterator
void fill(const TrajectoryStateOnSurface &tsos, TransientTrackingRecHit::ConstRecHitPointer hit) const
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
OverlapProblemTSOSAnalyzer(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
TSOSHistogramMaker m_tsoshm
const_iterator begin() const
first iterator over the map (read only)
edm::EDGetTokenT< TrajTrackAssociationCollection > m_ttacollToken
void endRun(const edm::Run &, const edm::EventSetup &) override
key_type key() const
Accessor for product key.
bool isSelected(const DetId &detid) const
T * make(const Args &... args) const
make new ROOT object