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
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,
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
SiStripFineDelayHit
Definition: SiStripFineDelayHit.h:43
edm::DetSetVector< SiStripDigi >
TrackerGeometry.h
SiStripFineDelayHit::minTrackP2_
double minTrackP2_
Definition: SiStripFineDelayHit.h:80
EDProducer.h
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
ESHandle.h
SiStripFineDelayHit::noiseToken_
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noiseToken_
Definition: SiStripFineDelayHit.h:95
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< TrajectorySeedCollection >
SiStripFineDelayHit::noTracking_
bool noTracking_
Definition: SiStripFineDelayHit.h:79
TrackerTopology
Definition: TrackerTopology.h:16
SiStripFineDelayTLA.h
SiStripRawDigi.h
SiStripFineDelayHit::cosmic_
bool cosmic_
Definition: SiStripFineDelayHit.h:79
SiStripFedCabling.h
SiStripFineDelayHit::field_
bool field_
Definition: SiStripFineDelayHit.h:79
SiStripFineDelayHit::fedCablingToken_
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > fedCablingToken_
Definition: SiStripFineDelayHit.h:94
SiStripNoises.h
SiStripFineDelayHit::maxClusterDistance_
double maxClusterDistance_
Definition: SiStripFineDelayHit.h:80
MakerMacros.h
TrackerTopology.h
TrackFwd.h
SiStripDigi.h
SiStripFineDelayHit::explorationWindow_
int explorationWindow_
Definition: SiStripFineDelayHit.h:82
SiStripFineDelayHit::rechit
bool rechit(reco::Track *tk, uint32_t detId)
Definition: SiStripFineDelayHit.cc:249
reco::Track
Definition: Track.h:27
SiStripFineDelayHit::deviceMask
DeviceMask deviceMask(const StripSubdetector::SubDetector subdet, const int substructure, const TrackerTopology *tkrTopo)
Definition: SiStripFineDelayHit.cc:115
SiStripFineDelayHit::closestCluster
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)
Definition: SiStripFineDelayHit.cc:260
StripSubdetector::TIB
static constexpr auto TIB
Definition: StripSubdetector.h:16
SiStripFineDelayHit::clustersToken_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clustersToken_
Definition: SiStripFineDelayHit.h:88
EDGetToken.h
SiStripFineDelayHit::detId
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)
Definition: SiStripFineDelayHit.cc:148
SiStripFineDelayHit::homeMadeClusters_
bool homeMadeClusters_
Definition: SiStripFineDelayHit.h:79
SiStripEventSummary.h
SiStripFineDelayHit::inputModuleToken_
edm::EDGetTokenT< SiStripEventSummary > inputModuleToken_
Definition: SiStripFineDelayHit.h:85
bsc_activity_cfg.clusters
clusters
Definition: bsc_activity_cfg.py:36
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
SiStripFineDelayHit::seedcollToken_
edm::EDGetTokenT< TrajectorySeedCollection > seedcollToken_
Definition: SiStripFineDelayHit.h:84
SiStripFineDelayHit::digiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > digiToken_
Definition: SiStripFineDelayHit.h:87
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripCluster.h
Event.h
SiStripFineDelayHit::tTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: SiStripFineDelayHit.h:93
SiStripFineDelayHit::~SiStripFineDelayHit
~SiStripFineDelayHit() override
Definition: SiStripFineDelayHit.cc:106
SiStripFineDelayHit::DeviceMask
std::pair< uint32_t, uint32_t > DeviceMask
Definition: SiStripFineDelayHit.h:52
SiStripFineDelayHit::mode_
int mode_
Definition: SiStripFineDelayHit.h:81
SiStripFineDelayTLA
Definition: SiStripFineDelayTLA.h:22
SiStripFineDelayHit::anglefinder_
SiStripFineDelayTLA * anglefinder_
Definition: SiStripFineDelayHit.h:77
edm::EventSetup
Definition: EventSetup.h:58
DetSetVector.h
TrajectorySeedCollection.h
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
InputTag.h
SiStripFineDelayHit::trackToken_
edm::EDGetTokenT< std::vector< Trajectory > > trackToken_
Definition: SiStripFineDelayHit.h:89
SiStripFineDelayHit::SiStripFineDelayHit
SiStripFineDelayHit(const edm::ParameterSet &)
Definition: SiStripFineDelayHit.cc:70
SiStripFineDelayHit::produceNoTracking
virtual void produceNoTracking(edm::Event &, const edm::EventSetup &)
Definition: SiStripFineDelayHit.cc:527
Trajectory.h
edmNew::DetSetVector
Definition: DetSetNew.h:13
Ref.h
SiStripFineDelayHit::event_
const edm::Event * event_
Definition: SiStripFineDelayHit.h:78
SiStripFineDelayHit::trackCollectionToken_
edm::EDGetTokenT< reco::TrackCollection > trackCollectionToken_
Definition: SiStripFineDelayHit.h:86
Frameworkfwd.h
SiStripFineDelayHit::maxAngle_
double maxAngle_
Definition: SiStripFineDelayHit.h:80
edm::EDProducer
Definition: EDProducer.h:35
SiStripFedCablingRcd.h
SiStripNoisesRcd.h
ParameterSet.h
SiStripFineDelayHit::connectionMap_
std::map< uint32_t, uint32_t > connectionMap_
Definition: SiStripFineDelayHit.h:90
SiStripFineDelayHit::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: SiStripFineDelayHit.cc:610
SiStripClusterCollection.h
edm::Event
Definition: Event.h:73
SiStripSubdetector::Subdetector
Subdetector
Definition: SiStripEnums.h:5
DetSetVectorNew.h
SiStripFineDelayHit::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: SiStripFineDelayHit.cc:377
SiStripFineDelayHit::tkGeomToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
Definition: SiStripFineDelayHit.h:92
TrackerGeometry
Definition: TrackerGeometry.h:14