CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SeedForPhotonConversion1Leg.h
Go to the documentation of this file.
1 #ifndef SeedForPhotonConversion1Leg_H
2 #define SeedForPhotonConversion1Leg_H
3 
8 
10 public:
11  static const int cotTheta_Max=99999;
12 
14  thePropagatorLabel(cfg.getParameter<std::string>("propagator")),
15  theBOFFMomentum(cfg.existsAs<double>("SeedMomentumForBOFF") ? cfg.getParameter<double>("SeedMomentumForBOFF") : 5.0)
16  {}
17 
19  const std::string & propagator = "PropagatorWithMaterial", double seedMomentumForBOFF = -5.0)
20  : thePropagatorLabel(propagator), theBOFFMomentum(seedMomentumForBOFF) { }
21 
22  //dtor
24 
25  virtual const TrajectorySeed * trajectorySeed( TrajectorySeedCollection & seedCollection,
26  const SeedingHitSet & hits,
27  const GlobalPoint & vertex,
28  const GlobalVector & vertexBounds,
29  float ptmin,
30  const edm::EventSetup& es,
31  float cotTheta,
32  std::stringstream& ss);
33 
35  TrajectorySeedCollection & seedCollection,
36  const SeedingHitSet & hits,
37  const TrackingRegion & region,
38  const edm::EventSetup& es,
39  const SeedComparitor *filter){ return 0;}
40 
41  protected:
42 
43  virtual bool checkHit(
46  const edm::EventSetup& es) const { return true; }
47 
49  const SeedingHitSet & hits,
50  const GlobalPoint & vertexPos,
51  const edm::EventSetup& es,
52  const float cotTheta) const;
53 
55  const GlobalVector& vertexBounds,
56  float ptMin,
57  float sinTheta) const;
58 
59  virtual const TrajectorySeed * buildSeed(
60  TrajectorySeedCollection & seedCollection,
61  const SeedingHitSet & hits,
62  const FreeTrajectoryState & fts,
63  const edm::EventSetup& es) const;
64 
67  const TrajectoryStateOnSurface &state) const;
68 
69 protected:
70  std::string thePropagatorLabel;
72 
73  std::stringstream * pss;
75 };
76 #endif
virtual const TrajectorySeed * buildSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const FreeTrajectoryState &fts, const edm::EventSetup &es) const
SeedForPhotonConversion1Leg(const std::string &propagator="PropagatorWithMaterial", double seedMomentumForBOFF=-5.0)
virtual GlobalTrajectoryParameters initialKinematic(const SeedingHitSet &hits, const GlobalPoint &vertexPos, const edm::EventSetup &es, const float cotTheta) const
virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const GlobalPoint &vertex, const GlobalVector &vertexBounds, float ptmin, const edm::EventSetup &es, float cotTheta, std::stringstream &ss)
std::vector< TrajectorySeed > TrajectorySeedCollection
virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits, const TrackingRegion &region, const edm::EventSetup &es, const SeedComparitor *filter)
SeedForPhotonConversion1Leg(const edm::ParameterSet &cfg)
char state
Definition: procUtils.cc:75
double ptmin
Definition: HydjetWrapper.h:86
virtual TransientTrackingRecHit::RecHitPointer refitHit(const TransientTrackingRecHit::ConstRecHitPointer &hit, const TrajectoryStateOnSurface &state) const
virtual bool checkHit(const TrajectoryStateOnSurface &, const TransientTrackingRecHit::ConstRecHitPointer &hit, const edm::EventSetup &es) const
virtual CurvilinearTrajectoryError initialError(const GlobalVector &vertexBounds, float ptMin, float sinTheta) const