112 m_ptrk = tfserv->
make<TH1F>(
"trkmomentum",
"Refitted Track momentum",100,0.,200.);
113 m_etatrk = tfserv->
make<TH1F>(
"trketa",
"Refitted Track pseudorapidity",100,-4.,4.);
153 const std::vector<TrajectoryMeasurement> & tmcoll = traj->measurements();
159 for(std::vector<TrajectoryMeasurement>::const_iterator meas = tmcoll.begin() ; meas!= tmcoll.end() ; ++meas) {
161 if(!meas->updatedState().isValid())
continue;
171 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
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)
#define DEFINE_FWK_MODULE(type)
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
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
const_iterator begin() const
first iterator over the map (read only)