CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalTrackingRegion.h
Go to the documentation of this file.
1 #ifndef GlobalTrackingRegion_H
2 #define GlobalTrackingRegion_H
3 
11 #include <vector>
12 
14 public:
15 
23  float originRadius, float originHalfLength, bool precise=false)
24  : TrackingRegionBase(GlobalVector( 0, 0, 0), origin,
25  Range( -1/ptMin, 1/ptMin), originRadius, originHalfLength),
26  thePrecise(precise) { }
27 
28  GlobalTrackingRegion ( float ptMin = 1., float originRadius = 0.2,
29  float originHalfLength = 22.7, float originZPos = 0.,
30  bool precise = false)
31  : TrackingRegionBase(GlobalVector( 0, 0, 0), GlobalPoint( 0, 0, originZPos),
33  thePrecise(precise) { }
34 
35  virtual TrackingRegion::Hits hits(
36  const edm::Event& ev,
37  const edm::EventSetup& es,
38  const ctfseeding::SeedingLayer* layer) const;
39 
40 
41  virtual HitRZCompatibility * checkRZ(const DetLayer* layer,
42  const Hit & outerHit,
43  const edm::EventSetup& iSetup) const;
44 
45  virtual GlobalTrackingRegion* clone() const {
46  return new GlobalTrackingRegion(*this);
47  }
48 
49  virtual std::string name() const { return "GlobalTrackingRegion"; }
50  virtual std::string print() const;
51 
52 private:
53  bool thePrecise;
54 };
55 #endif
virtual HitRZCompatibility * checkRZ(const DetLayer *layer, const Hit &outerHit, const edm::EventSetup &iSetup) const
virtual GlobalPoint origin() const
virtual std::string print() const
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
virtual GlobalTrackingRegion * clone() const
clone region
virtual float ptMin() const
minimal pt of interest
virtual std::string name() const
GlobalTrackingRegion(float ptMin, const GlobalPoint &origin, float originRadius, float originHalfLength, bool precise=false)
std::vector< Hit > Hits
GlobalTrackingRegion(float ptMin=1., float originRadius=0.2, float originHalfLength=22.7, float originZPos=0., bool precise=false)