102 m_validOnly(iConfig.getParameter<bool>(
"onlyValidRecHit")),
104 m_debug(iConfig.getUntrackedParameter<bool>(
"debugMode",
false)),
113 m_ptrk = tfserv->
make<TH1F>(
"trkmomentum",
"Refitted Track momentum",100,0.,200.);
114 m_etatrk = tfserv->
make<TH1F>(
"trketa",
"Refitted Track pseudorapidity",100,-4.,4.);
154 const std::vector<TrajectoryMeasurement> & tmcoll = traj->measurements();
160 for(std::vector<TrajectoryMeasurement>::const_iterator meas = tmcoll.begin() ; meas!= tmcoll.end() ; ++meas) {
162 if(!meas->updatedState().isValid())
continue;
172 if(selector.
isSelected(hit->geographicalId())) {
friend struct const_iterator
const_iterator end() const
last iterator over the map (read only)
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
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
TSOSHistogramMaker m_tsoshm
edm::EDGetTokenT< TrajTrackAssociationCollection > m_ttacollToken
virtual void endRun(const edm::Run &, const edm::EventSetup &) override
ClusterRef cluster() const
~OverlapProblemTSOSAnalyzer()
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
OverlapProblemTSOSAnalyzer(const edm::ParameterSet &)
const_iterator begin() const
first iterator over the map (read only)