102 m_validOnly(iConfig.getParameter<bool>(
"onlyValidRecHit")),
104 m_debug(iConfig.getUntrackedParameter<bool>(
"debugMode",
false)),
105 m_tsoshm(iConfig.getParameter<edm::
ParameterSet>(
"tsosHMConf"))
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
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
bool isSelected(const DetId &detid) const
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
key_type key() const
Accessor for product key.
~OverlapProblemTSOSAnalyzer()
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
OverlapProblemTSOSAnalyzer(const edm::ParameterSet &)
volatile std::atomic< bool > shutdown_flag false