CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
26 
27 //
28 // class decleration
29 //
30 
32  public:
33  explicit SiStripFineDelayHit(const edm::ParameterSet&);
34  virtual ~SiStripFineDelayHit();
35 
36  private:
37  virtual void beginRun(const edm::Run &, const edm::EventSetup &) override;
38  virtual void produce(edm::Event&, const edm::EventSetup&) override;
39  virtual void produceNoTracking(edm::Event&, const edm::EventSetup&);
40  std::pair<uint32_t, uint32_t> deviceMask(const StripSubdetector::SubDetector subdet,const int substructure);
41  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);
42  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);
43  std::pair<const SiStripCluster*,double>
44  closestCluster(const TrackerGeometry& tracker,
45  const reco::Track* tk,const uint32_t& detId,
46  const edmNew::DetSetVector<SiStripCluster>& clusters,
47  const edm::DetSetVector<SiStripDigi>& hits);
48  bool rechit(reco::Track* tk,uint32_t detId);
49 
50  // ----------member data ---------------------------
55  int mode_; // 1=delayScan 2=latencyScan
58  std::map<uint32_t,uint32_t> connectionMap_;
59 };
60 
61 #endif
62 
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::InputTag clusterLabel_
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::InputTag inputModuleLabel_
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
Definition: Run.h:36