CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CosmicTrackingRegion.h
Go to the documentation of this file.
1 #ifndef CosmicTrackingRegion_H
2 #define CosmicTrackingRegion_H
3 
15 #include <vector>
17 
18 
20 
22 public:
23 
24 
25  virtual ~CosmicTrackingRegion() { }
26 
52  const GlobalPoint & vertexPos,
53  float ptMin, float rVertex, float zVertex,
54  float deltaEta, float deltaPhi,
55  float dummy = 0.)
56  : TrackingRegionBase( dir, vertexPos, Range( -1/ptMin, 1/ptMin),
57  rVertex, zVertex),
59  { }
60 
62  const GlobalPoint & vertexPos,
63  float ptMin, float rVertex, float zVertex,
64  float deltaEta, float deltaPhi,
65  const edm::ParameterSet & extra)
66  : TrackingRegionBase( dir, vertexPos, Range( -1/ptMin, 1/ptMin),
67  rVertex, zVertex)
68  {
69  measurementTrackerName_ = extra.getParameter<std::string>("measurementTrackerName");
70  }
71 
72 
73 
74  virtual TrackingRegion::Hits hits(
75  const edm::Event& ev,
76  const edm::EventSetup& es,
77  const ctfseeding::SeedingLayer* layer) const;
78 
80  const edm::Event& ev,
81  const edm::EventSetup& es,
82  const SeedingLayerSetsHits::SeedingLayer& layer) const override;
83 
85  const DetLayer* layer,
86  const Hit & outerHit,
87  const edm::EventSetup& iSetup,
88  const DetLayer* outerlayer=0,
89  float lr=0, float gz=0, float dr=0, float dz=0) const {return 0; }
90 
91  CosmicTrackingRegion * clone() const { return new CosmicTrackingRegion(*this); }
92 
93  std::string name() const { return "CosmicTrackingRegion"; }
94 
95 private:
96  template <typename T>
98  const edm::Event& ev,
99  const edm::EventSetup& es,
100  const T& layer) const;
101 
103 };
104 
105 #endif
TrackingRegion::Hits hits_(const edm::Event &ev, const edm::EventSetup &es, const T &layer) const
T getParameter(std::string const &) const
CosmicTrackingRegion(const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, float deltaEta, float deltaPhi, float dummy=0.)
virtual TrackingRegion::Hits hits(const edm::Event &ev, const edm::EventSetup &es, const ctfseeding::SeedingLayer *layer) const
get hits from layer compatible with region constraints
CosmicTrackingRegion * clone() const
virtual HitRZCompatibility * checkRZ(const DetLayer *layer, const Hit &outerHit, const edm::EventSetup &iSetup, const DetLayer *outerlayer=0, float lr=0, float gz=0, float dr=0, float dz=0) const
CosmicTrackingRegion(const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, float deltaEta, float deltaPhi, const edm::ParameterSet &extra)
std::vector< Hit > Hits
float ptMin() const
minimal pt of interest
std::string name() const
TransientTrackingRecHit::ConstRecHitPointer SeedingHit
dbl *** dir
Definition: mlp_gen.cc:35
long double T