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"
18 
20 
22 
23 //
24 // this class need to be cleaned and optimized as those in RecoTracker/TkSeedGenerator
25 //
27 public:
28  static const int cotTheta_Max = 99999;
29 
31  : theBfieldToken(iC.esConsumes()),
32  theTrackerToken(iC.esConsumes()),
33  thePropagatorToken(iC.esConsumes(edm::ESInputTag("", cfg.getParameter<std::string>("propagator")))),
34  theTTRHBuilderToken(iC.esConsumes(edm::ESInputTag("", cfg.getParameter<std::string>("TTRHBuilder")))),
35  theBOFFMomentum(cfg.getParameter<double>("SeedMomentumForBOFF")) {}
36 
37  //dtor
39 
41  const SeedingHitSet& hits,
42  const GlobalPoint& vertex,
43  const GlobalVector& vertexBounds,
44  float ptmin,
45  const edm::EventSetup& es,
46  float cotTheta,
47  std::stringstream& ss);
48 
49 protected:
52  const edm::EventSetup& es) const {
53  return true;
54  }
55 
56  GlobalTrajectoryParameters initialKinematic(const SeedingHitSet& hits,
57  const GlobalPoint& vertexPos,
58  const edm::EventSetup& es,
59  const float cotTheta) const;
60 
61  CurvilinearTrajectoryError initialError(const GlobalVector& vertexBounds, float ptMin, float sinTheta) const;
62 
64  const SeedingHitSet& hits,
65  const FreeTrajectoryState& fts,
66  const edm::EventSetup& es) const;
67 
70  const TkClonerImpl& cloner) const;
71 
72 protected:
78 
79  std::stringstream* pss;
81 };
82 #endif
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > theTrackerToken
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
SeedForPhotonConversion1Leg(const edm::ParameterSet &cfg, edm::ConsumesCollector iC)
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theTTRHBuilderToken
constexpr float ptMin
BaseTrackerRecHit const * ConstRecHitPointer
Definition: SeedingHitSet.h:14
std::vector< TrajectorySeed > TrajectorySeedCollection
bool checkHit(const TrajectoryStateOnSurface &, const SeedingHitSet::ConstRecHitPointer &hit, const edm::EventSetup &es) const
edm::ESGetToken< Propagator, TrackingComponentsRecord > thePropagatorToken
#define dso_hidden
Definition: Visibility.h:12
double ptmin
Definition: HydjetWrapper.h:84
HLT enums.
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theBfieldToken