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 
36  virtual TrackingRegion::Hits hits(
37  const edm::Event& ev,
38  const edm::EventSetup& es,
39  const ctfseeding::SeedingLayer* layer) const;
40 
42  const edm::Event& ev,
43  const edm::EventSetup& es,
44  const SeedingLayerSetsHits::SeedingLayer& layer) const override;
45 
46 
47  virtual HitRZCompatibility * checkRZ(const DetLayer* layer,
48  const Hit & outerHit,
49  const edm::EventSetup& iSetup,
50  const DetLayer* outerlayer=0,
51  float lr=0, float gz=0, float dr=0, float dz=0) const ;
52 
53  virtual GlobalTrackingRegion* clone() const {
54  return new GlobalTrackingRegion(*this);
55  }
56 
57  virtual std::string name() const { return "GlobalTrackingRegion"; }
58  virtual std::string print() const;
59 
60 private:
61  bool thePrecise;
62 };
63 #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:8
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)
GloballyPositioned< float >::GlobalVector GlobalVector
Definition: MagVolume.h:21
std::pair< ContainerIterator, ContainerIterator > Range
Unlimited (trivial) bounds.