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
27 
28 //
29 // class decleration
30 //
31 
33  public:
34  explicit SiStripFineDelayHit(const edm::ParameterSet&);
35  virtual ~SiStripFineDelayHit();
36 
37  private:
38  virtual void beginRun(edm::Run &, const edm::EventSetup &);
39  virtual void produce(edm::Event&, const edm::EventSetup&);
40  virtual void produceNoTracking(edm::Event&, const edm::EventSetup&);
41  std::pair<uint32_t, uint32_t> deviceMask(const StripSubdetector::SubDetector subdet,const int substructure);
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 StripSubdetector::SubDetector subdet = StripSubdetector::TIB,const int substructure=0xff);
43  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);
44  std::pair<const SiStripCluster*,double>
45  closestCluster(const TrackerGeometry& tracker,
46  const reco::Track* tk,const uint32_t& detId,
47  const edmNew::DetSetVector<SiStripCluster>& clusters,
48  const edm::DetSetVector<SiStripDigi>& hits);
49  bool rechit(reco::Track* tk,uint32_t detId);
50 
51  // ----------member data ---------------------------
56  int mode_; // 1=delayScan 2=latencyScan
59  std::map<uint32_t,uint32_t> connectionMap_;
60 };
61 
62 #endif
63 
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_
virtual void beginRun(edm::Run &, const edm::EventSetup &)
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_
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::InputTag inputModuleLabel_
bool rechit(reco::Track *tk, uint32_t detId)
const edm::Event * event_
Definition: Run.h:33