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>;
50  const int substructure,
51  const TrackerTopology* tkrTopo);
52  std::vector<std::pair<uint32_t, std::pair<double, double> > > detId(
53  const TrackerGeometry& tracker,
54  const TrackerTopology* tkrTopo,
55  const reco::Track* tk,
56  const std::vector<Trajectory>& trajVec,
58  const int substructure = 0xff);
59  std::vector<std::pair<uint32_t, std::pair<double, double> > > detId(const TrackerGeometry& tracker,
60  const TrackerTopology* tkrTopo,
61  const reco::Track* tk,
62  const std::vector<Trajectory>& trajVec,
63  const uint32_t& maskDetId,
64  const uint32_t& rootDetId);
65  std::pair<const SiStripCluster*, double> closestCluster(const TrackerGeometry& tracker,
66  const reco::Track* tk,
67  const uint32_t& detId,
70  bool rechit(reco::Track* tk, uint32_t detId);
71 
72  // ----------member data ---------------------------
77  int mode_; // 1=delayScan 2=latencyScan
79  // edm::InputTag digiLabel_, clusterLabel_, trackLabel_, seedLabel_, inputModuleLabel_;
86  std::map<uint32_t, uint32_t> connectionMap_;
87 };
88 
89 #endif
SiStripFineDelayHit
Definition: SiStripFineDelayHit.h:39
edm::DetSetVector< SiStripDigi >
TrackerGeometry.h
SiStripFineDelayHit::minTrackP2_
double minTrackP2_
Definition: SiStripFineDelayHit.h:76
EDProducer.h
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
ESHandle.h
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< TrajectorySeedCollection >
SiStripFineDelayHit::noTracking_
bool noTracking_
Definition: SiStripFineDelayHit.h:75
TrackerTopology
Definition: TrackerTopology.h:16
SiStripFineDelayTLA.h
SiStripRawDigi.h
SiStripFineDelayHit::cosmic_
bool cosmic_
Definition: SiStripFineDelayHit.h:75
SiStripFineDelayHit::field_
bool field_
Definition: SiStripFineDelayHit.h:75
SiStripFineDelayHit::maxClusterDistance_
double maxClusterDistance_
Definition: SiStripFineDelayHit.h:76
MakerMacros.h
TrackerTopology.h
TrackFwd.h
SiStripDigi.h
SiStripFineDelayHit::explorationWindow_
int explorationWindow_
Definition: SiStripFineDelayHit.h:78
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:84
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:75
SiStripEventSummary.h
SiStripFineDelayHit::inputModuleToken_
edm::EDGetTokenT< SiStripEventSummary > inputModuleToken_
Definition: SiStripFineDelayHit.h:81
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:80
SiStripFineDelayHit::digiToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > digiToken_
Definition: SiStripFineDelayHit.h:83
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripCluster.h
Event.h
SiStripFineDelayHit::~SiStripFineDelayHit
~SiStripFineDelayHit() override
Definition: SiStripFineDelayHit.cc:106
SiStripFineDelayHit::DeviceMask
std::pair< uint32_t, uint32_t > DeviceMask
Definition: SiStripFineDelayHit.h:48
SiStripFineDelayHit::mode_
int mode_
Definition: SiStripFineDelayHit.h:77
SiStripFineDelayTLA
Definition: SiStripFineDelayTLA.h:19
SiStripFineDelayHit::anglefinder_
SiStripFineDelayTLA * anglefinder_
Definition: SiStripFineDelayHit.h:73
edm::EventSetup
Definition: EventSetup.h:57
DetSetVector.h
TrajectorySeedCollection.h
InputTag.h
SiStripFineDelayHit::trackToken_
edm::EDGetTokenT< std::vector< Trajectory > > trackToken_
Definition: SiStripFineDelayHit.h:85
SiStripFineDelayHit::SiStripFineDelayHit
SiStripFineDelayHit(const edm::ParameterSet &)
Definition: SiStripFineDelayHit.cc:75
SiStripFineDelayHit::produceNoTracking
virtual void produceNoTracking(edm::Event &, const edm::EventSetup &)
Definition: SiStripFineDelayHit.cc:529
Trajectory.h
edmNew::DetSetVector
Definition: DetSetNew.h:13
Ref.h
SiStripFineDelayHit::event_
const edm::Event * event_
Definition: SiStripFineDelayHit.h:74
SiStripFineDelayHit::trackCollectionToken_
edm::EDGetTokenT< reco::TrackCollection > trackCollectionToken_
Definition: SiStripFineDelayHit.h:82
Frameworkfwd.h
SiStripFineDelayHit::maxAngle_
double maxAngle_
Definition: SiStripFineDelayHit.h:76
edm::EDProducer
Definition: EDProducer.h:36
ParameterSet.h
SiStripFineDelayHit::connectionMap_
std::map< uint32_t, uint32_t > connectionMap_
Definition: SiStripFineDelayHit.h:86
SiStripFineDelayHit::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition: SiStripFineDelayHit.cc:614
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
TrackerGeometry
Definition: TrackerGeometry.h:14