test
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 
5 #include "PrintRecoObjects.h"
11 
13 
14 
16 
18 
19 //
20 // this class need to be cleaned and optimized as those in RecoTracker/TkSeedGenerator
21 //
23 public:
24  static const int cotTheta_Max=99999;
25 
27  thePropagatorLabel (cfg.getParameter<std::string>("propagator"))
28  ,theBOFFMomentum (cfg.getParameter<double>("SeedMomentumForBOFF"))
29  ,TTRHBuilder (cfg.getParameter<std::string>("TTRHBuilder"))
30  {}
31 
32  //dtor
34 
35  const TrajectorySeed * trajectorySeed( TrajectorySeedCollection & seedCollection,
36  const SeedingHitSet & hits,
37  const GlobalPoint & vertex,
38  const GlobalVector & vertexBounds,
39  float ptmin,
40  const edm::EventSetup& es,
41  float cotTheta,
42  std::stringstream& ss);
43 
44 
45  protected:
46 
47  bool checkHit(
50  const edm::EventSetup& es) const { return true; }
51 
52  GlobalTrajectoryParameters initialKinematic(
53  const SeedingHitSet & hits,
54  const GlobalPoint & vertexPos,
55  const edm::EventSetup& es,
56  const float cotTheta) const;
57 
58  CurvilinearTrajectoryError initialError(
59  const GlobalVector& vertexBounds,
60  float ptMin,
61  float sinTheta) const;
62 
63  const TrajectorySeed * buildSeed(
64  TrajectorySeedCollection & seedCollection,
65  const SeedingHitSet & hits,
66  const FreeTrajectoryState & fts,
67  const edm::EventSetup& es) const;
68 
70  const TrajectoryStateOnSurface &state) const;
71 
72 protected:
76 
77  // FIXME (well the whole class needs to be fixed!)
79 
80  std::stringstream * pss;
82 };
83 #endif
#define dso_hidden
tuple cfg
Definition: looper.py:293
BaseTrackerRecHit const * ConstRecHitPointer
Definition: SeedingHitSet.h:11
std::vector< TrajectorySeed > TrajectorySeedCollection
SeedForPhotonConversion1Leg(const edm::ParameterSet &cfg)
double ptmin
Definition: HydjetWrapper.h:90
bool checkHit(const TrajectoryStateOnSurface &, const SeedingHitSet::ConstRecHitPointer &hit, const edm::EventSetup &es) const