CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
31 
38 
39 //
40 // class decleration
41 //
42 
44 public:
45  explicit SiStripFineDelayHit(const edm::ParameterSet&);
46  ~SiStripFineDelayHit() override;
47 
48 private:
49  void beginRun(const edm::Run&, const edm::EventSetup&) override;
50  void produce(edm::Event&, const edm::EventSetup&) override;
51  virtual void produceNoTracking(edm::Event&, const edm::EventSetup&);
52  using DeviceMask = std::pair<uint32_t, uint32_t>;
54  const int substructure,
55  const TrackerTopology* tkrTopo);
56  std::vector<std::pair<uint32_t, std::pair<double, double> > > detId(
57  const TrackerGeometry& tracker,
58  const TrackerTopology* tkrTopo,
59  const reco::Track* tk,
60  const std::vector<Trajectory>& trajVec,
62  const int substructure = 0xff);
63  std::vector<std::pair<uint32_t, std::pair<double, double> > > detId(const TrackerGeometry& tracker,
64  const TrackerTopology* tkrTopo,
65  const reco::Track* tk,
66  const std::vector<Trajectory>& trajVec,
67  const uint32_t& maskDetId,
68  const uint32_t& rootDetId);
69  std::pair<const SiStripCluster*, double> closestCluster(const TrackerGeometry& tracker,
70  const reco::Track* tk,
71  const uint32_t& detId,
73  const edm::DetSetVector<SiStripDigi>& hits);
74  bool rechit(reco::Track* tk, uint32_t detId);
75 
76  // ----------member data ---------------------------
81  int mode_; // 1=delayScan 2=latencyScan
83  // edm::InputTag digiLabel_, clusterLabel_, trackLabel_, seedLabel_, inputModuleLabel_;
90  std::map<uint32_t, uint32_t> connectionMap_;
91 
96 };
97 
98 #endif
virtual void produceNoTracking(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< SiStripEventSummary > inputModuleToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
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)
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noiseToken_
SiStripFineDelayTLA * anglefinder_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clustersToken_
DeviceMask deviceMask(const StripSubdetector::SubDetector subdet, const int substructure, const TrackerTopology *tkrTopo)
edm::EDGetTokenT< TrajectorySeedCollection > seedcollToken_
static constexpr auto TIB
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > digiToken_
std::pair< uint32_t, uint32_t > DeviceMask
bool rechit(reco::Track *tk, uint32_t detId)
std::map< uint32_t, uint32_t > connectionMap_
void beginRun(const edm::Run &, const edm::EventSetup &) override
const edm::Event * event_
void produce(edm::Event &, const edm::EventSetup &) override
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
edm::EDGetTokenT< std::vector< Trajectory > > trackToken_
edm::EDGetTokenT< reco::TrackCollection > trackCollectionToken_
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > fedCablingToken_
Definition: Run.h:45