CMS 3D CMS Logo

SiStripFineDelayHit.h
Go to the documentation of this file.
1 #ifndef SiStripCommissioningSource_SiStripFineDelayHit_h
2 #define SiStripCommissioningSource_SiStripFineDelayHit_h
3 
4 // system include files
5 #include <memory>
6 #include <utility>
7 
8 // user include files
27 
33 
34 //
35 // class decleration
36 //
37 
39  public:
40  explicit SiStripFineDelayHit(const edm::ParameterSet&);
41  virtual ~SiStripFineDelayHit();
42 
43  private:
44  virtual void beginRun(const edm::Run &, const edm::EventSetup &) override;
45  virtual void produce(edm::Event&, const edm::EventSetup&) override;
46  virtual void produceNoTracking(edm::Event&, const edm::EventSetup&);
47  std::pair<uint32_t, uint32_t> deviceMask(const StripSubdetector::SubDetector subdet,const int substructure);
48  std::vector< std::pair<uint32_t,std::pair<double, double> > > detId(const TrackerGeometry& tracker,const reco::Track* tk, const std::vector<Trajectory>& trajVec, const StripSubdetector::SubDetector subdet = StripSubdetector::TIB,const int substructure=0xff);
49  std::vector< std::pair<uint32_t,std::pair<double, double> > > detId(const TrackerGeometry& tracker,const reco::Track* tk, const std::vector<Trajectory>& trajVec, const uint32_t& maskDetId, const uint32_t& rootDetId);
50  std::pair<const SiStripCluster*,double>
51  closestCluster(const TrackerGeometry& tracker,
52  const reco::Track* tk,const uint32_t& detId,
55  bool rechit(reco::Track* tk,uint32_t detId);
56 
57  // ----------member data ---------------------------
62  int mode_; // 1=delayScan 2=latencyScan
64  // edm::InputTag digiLabel_, clusterLabel_, trackLabel_, seedLabel_, inputModuleLabel_;
71  std::map<uint32_t,uint32_t> connectionMap_;
72 };
73 
74 #endif
75 
std::vector< std::pair< uint32_t, std::pair< double, double > > > detId(const TrackerGeometry &tracker, const reco::Track *tk, const std::vector< Trajectory > &trajVec, const StripSubdetector::SubDetector subdet=StripSubdetector::TIB, const int substructure=0xff)
virtual void produceNoTracking(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< SiStripEventSummary > inputModuleToken_
std::pair< uint32_t, uint32_t > deviceMask(const StripSubdetector::SubDetector subdet, const int substructure)
std::map< uint32_t, uint32_t > connectionMap_
SiStripFineDelayHit(const edm::ParameterSet &)
std::pair< const SiStripCluster *, double > closestCluster(const TrackerGeometry &tracker, const reco::Track *tk, const uint32_t &detId, const edmNew::DetSetVector< SiStripCluster > &clusters, const edm::DetSetVector< SiStripDigi > &hits)
SiStripFineDelayTLA * anglefinder_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clustersToken_
edm::EDGetTokenT< TrajectorySeedCollection > seedcollToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > digiToken_
bool rechit(reco::Track *tk, uint32_t detId)
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
const edm::Event * event_
virtual void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< std::vector< Trajectory > > trackToken_
edm::EDGetTokenT< reco::TrackCollection > trackCollectionToken_
Definition: Run.h:42