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 
34 
35 //
36 // class decleration
37 //
38 
40  public:
41  explicit SiStripFineDelayHit(const edm::ParameterSet&);
42  ~SiStripFineDelayHit() override;
43 
44  private:
45  void beginRun(const edm::Run &, const edm::EventSetup &) override;
46  void produce(edm::Event&, const edm::EventSetup&) override;
47  virtual void produceNoTracking(edm::Event&, const edm::EventSetup&);
48  using DeviceMask = std::pair<uint32_t,uint32_t>;
49  DeviceMask deviceMask(const StripSubdetector::SubDetector subdet,const int substructure,const TrackerTopology* tkrTopo);
50  std::vector< std::pair<uint32_t,std::pair<double, double> > > detId(const TrackerGeometry& tracker, const TrackerTopology* tkrTopo, const reco::Track* tk, const std::vector<Trajectory>& trajVec, const StripSubdetector::SubDetector subdet = StripSubdetector::TIB,const int substructure=0xff);
51  std::vector< std::pair<uint32_t,std::pair<double, double> > > detId(const TrackerGeometry& tracker, const TrackerTopology* tkrTopo, const reco::Track* tk, const std::vector<Trajectory>& trajVec, const uint32_t& maskDetId, const uint32_t& rootDetId);
52  std::pair<const SiStripCluster*,double>
54  const reco::Track* tk,const uint32_t& detId,
57  bool rechit(reco::Track* tk,uint32_t detId);
58 
59  // ----------member data ---------------------------
64  int mode_; // 1=delayScan 2=latencyScan
66  // edm::InputTag digiLabel_, clusterLabel_, trackLabel_, seedLabel_, inputModuleLabel_;
73  std::map<uint32_t,uint32_t> connectionMap_;
74 };
75 
76 #endif
77 
virtual void produceNoTracking(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< SiStripEventSummary > inputModuleToken_
std::pair< uint32_t, uint32_t > DeviceMask
std::map< uint32_t, uint32_t > connectionMap_
std::vector< std::pair< uint32_t, std::pair< double, double > > > detId(const TrackerGeometry &tracker, const TrackerTopology *tkrTopo, const reco::Track *tk, const std::vector< Trajectory > &trajVec, const StripSubdetector::SubDetector subdet=StripSubdetector::TIB, const int substructure=0xff)
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_
DeviceMask deviceMask(const StripSubdetector::SubDetector subdet, const int substructure, const TrackerTopology *tkrTopo)
edm::EDGetTokenT< TrajectorySeedCollection > seedcollToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > digiToken_
bool rechit(reco::Track *tk, uint32_t detId)
void beginRun(const edm::Run &, const edm::EventSetup &) override
const edm::Event * event_
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< std::vector< Trajectory > > trackToken_
edm::EDGetTokenT< reco::TrackCollection > trackCollectionToken_
Definition: Run.h:43