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 
22  GlobalTrackingRegion ( float ptMin, const GlobalPoint & origin,
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  // obsolete constructor
29  GlobalTrackingRegion ( float ptMin = 1., float originRadius = 0.2,
30  float originHalfLength = 22.7, float originZPos = 0.,
31  bool precise = false)
32  : TrackingRegionBase(GlobalVector( 0, 0, 0), GlobalPoint( 0, 0, originZPos),
34  thePrecise(precise) { }
35 
37  const edm::Event& ev,
38  const edm::EventSetup& es,
39  const SeedingLayerSetsHits::SeedingLayer& layer) const override;
40 
41 
42  virtual HitRZCompatibility * checkRZ(const DetLayer* layer,
43  const Hit & outerHit,
44  const edm::EventSetup& iSetup,
45  const DetLayer* outerlayer=0,
46  float lr=0, float gz=0, float dr=0, float dz=0) const ;
47 
48  virtual GlobalTrackingRegion* clone() const {
49  return new GlobalTrackingRegion(*this);
50  }
51 
52  virtual std::string name() const { return "GlobalTrackingRegion"; }
53  virtual std::string print() const;
54 
55 private:
56  bool thePrecise;
57 };
58 #endif
virtual GlobalTrackingRegion * clone() const
GloballyPositioned< float >::GlobalPoint GlobalPoint
Definition: MagVolume.h:20
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:10
virtual std::string name() const
GlobalTrackingRegion(float ptMin, const GlobalPoint &origin, float originRadius, float originHalfLength, bool precise=false)
SeedingLayerSetsHits::Hits Hits
GlobalTrackingRegion(float ptMin=1., float originRadius=0.2, float originHalfLength=22.7, float originZPos=0., bool precise=false)
GloballyPositioned< float >::GlobalVector GlobalVector
Definition: MagVolume.h:21
std::pair< ContainerIterator, ContainerIterator > Range
Unlimited (trivial) bounds.