CMS 3D CMS Logo

SeedForPhotonConversion1Leg.h
Go to the documentation of this file.
1 #ifndef SeedForPhotonConversion1Leg_H
2 #define SeedForPhotonConversion1Leg_H
3 
5 #include "PrintRecoObjects.h"
11 
13 
15 
17 
18 //
19 // this class need to be cleaned and optimized as those in RecoTracker/TkSeedGenerator
20 //
22 public:
23  static const int cotTheta_Max = 99999;
24 
26  : thePropagatorLabel(cfg.getParameter<std::string>("propagator")),
27  theBOFFMomentum(cfg.getParameter<double>("SeedMomentumForBOFF")),
28  TTRHBuilder(cfg.getParameter<std::string>("TTRHBuilder")) {}
29 
30  //dtor
32 
34  const SeedingHitSet& hits,
35  const GlobalPoint& vertex,
36  const GlobalVector& vertexBounds,
37  float ptmin,
38  const edm::EventSetup& es,
39  float cotTheta,
40  std::stringstream& ss);
41 
42 protected:
45  const edm::EventSetup& es) const {
46  return true;
47  }
48 
49  GlobalTrajectoryParameters initialKinematic(const SeedingHitSet& hits,
50  const GlobalPoint& vertexPos,
51  const edm::EventSetup& es,
52  const float cotTheta) const;
53 
54  CurvilinearTrajectoryError initialError(const GlobalVector& vertexBounds, float ptMin, float sinTheta) const;
55 
56  const TrajectorySeed* buildSeed(TrajectorySeedCollection& seedCollection,
57  const SeedingHitSet& hits,
58  const FreeTrajectoryState& fts,
59  const edm::EventSetup& es) const;
60 
62  const TrajectoryStateOnSurface& state,
63  const TkClonerImpl& cloner) const;
64 
65 protected:
69 
70  std::stringstream* pss;
72 };
73 #endif
BaseTrackerRecHit const * ConstRecHitPointer
Definition: SeedingHitSet.h:10
std::vector< TrajectorySeed > TrajectorySeedCollection
#define dso_hidden
Definition: Visibility.h:12
SeedForPhotonConversion1Leg(const edm::ParameterSet &cfg)
double ptmin
Definition: HydjetWrapper.h:84
bool checkHit(const TrajectoryStateOnSurface &, const SeedingHitSet::ConstRecHitPointer &hit, const edm::EventSetup &es) const