Main Page
Namespaces
Classes
Package Documentation
RecoTracker
ConversionSeedGenerators
plugins
SeedForPhotonConversion1Leg.h
Go to the documentation of this file.
1
#ifndef SeedForPhotonConversion1Leg_H
2
#define SeedForPhotonConversion1Leg_H
3
4
#include "
RecoTracker/TkSeedingLayers/interface/SeedingHitSet.h
"
5
#include "
PrintRecoObjects.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
8
#include "
FWCore/Framework/interface/EventSetup.h
"
9
#include "
FWCore/Framework/interface/ESHandle.h
"
10
#include "
MagneticField/Engine/interface/MagneticField.h
"
11
12
#include "
RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h
"
13
14
15
#include "
FWCore/Utilities/interface/GCC11Compatibility.h
"
16
17
class
FreeTrajectoryState
;
18
19
//
20
// this class need to be cleaned and optimized as those in RecoTracker/TkSeedGenerator
21
//
22
class
dso_hidden
SeedForPhotonConversion1Leg
{
23
public
:
24
static
const
int
cotTheta_Max=99999;
25
26
SeedForPhotonConversion1Leg
(
const
edm::ParameterSet
&
cfg
):
27
thePropagatorLabel (cfg.getParameter<
std
::
string
>(
"propagator"
))
28
,theBOFFMomentum (cfg.getParameter<double>(
"SeedMomentumForBOFF"
))
29
,
TTRHBuilder
(cfg.getParameter<
std
::
string
>(
"TTRHBuilder"
))
30
{}
31
32
//dtor
33
~SeedForPhotonConversion1Leg
(){}
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
(
48
const
TrajectoryStateOnSurface
&,
49
const
SeedingHitSet::ConstRecHitPointer
&
hit
,
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
69
SeedingHitSet::RecHitPointer
refitHit(
SeedingHitSet::ConstRecHitPointer
hit
,
70
const
TrajectoryStateOnSurface
&state)
const
;
71
72
protected
:
73
std::string
thePropagatorLabel
;
74
double
theBOFFMomentum
;
75
std::string
TTRHBuilder
;
76
77
// FIXME (well the whole class needs to be fixed!)
78
mutable
TkClonerImpl
cloner
;
79
80
std::stringstream *
pss
;
81
PrintRecoObjects
po
;
82
};
83
#endif
dso_hidden
#define dso_hidden
PrintRecoObjects.h
SeedForPhotonConversion1Leg::po
PrintRecoObjects po
Definition:
SeedForPhotonConversion1Leg.h:81
Vector3DBase< float, GlobalTag >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
GlobalTrajectoryParameters
Definition:
GlobalTrajectoryParameters.h:15
EventSetup.h
SeedForPhotonConversion1Leg
Definition:
SeedForPhotonConversion1Leg.h:22
std
Definition:
JetResolutionObject.h:76
SeedForPhotonConversion1Leg::~SeedForPhotonConversion1Leg
~SeedForPhotonConversion1Leg()
Definition:
SeedForPhotonConversion1Leg.h:33
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
MagneticField.h
ParameterSet.h
SeedForPhotonConversion1Leg::cloner
TkClonerImpl cloner
Definition:
SeedForPhotonConversion1Leg.h:78
SeedingHitSet::ConstRecHitPointer
BaseTrackerRecHit const * ConstRecHitPointer
Definition:
SeedingHitSet.h:11
SeedForPhotonConversion1Leg::theBOFFMomentum
double theBOFFMomentum
Definition:
SeedForPhotonConversion1Leg.h:74
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition:
TrajectorySeedCollection.h:6
FreeTrajectoryState
Definition:
FreeTrajectoryState.h:29
SeedingHitSet
Definition:
SeedingHitSet.h:6
TkTransientTrackingRecHitBuilder.h
ESHandle.h
ALCARECOTkAlBeamHalo_cff.ptMin
ptMin
Definition:
ALCARECOTkAlBeamHalo_cff.py:30
edm::EventSetup
Definition:
EventSetup.h:45
SeedForPhotonConversion1Leg::pss
std::stringstream * pss
Definition:
SeedForPhotonConversion1Leg.h:80
looper.cfg
cfg
Definition:
looper.py:293
SeedForPhotonConversion1Leg::TTRHBuilder
std::string TTRHBuilder
Definition:
SeedForPhotonConversion1Leg.h:75
LaserSeedGenerator_cfi.TTRHBuilder
TTRHBuilder
Definition:
LaserSeedGenerator_cfi.py:7
BaseTrackerRecHit
Definition:
BaseTrackerRecHit.h:33
SeedForPhotonConversion1Leg::SeedForPhotonConversion1Leg
SeedForPhotonConversion1Leg(const edm::ParameterSet &cfg)
Definition:
SeedForPhotonConversion1Leg.h:26
GCC11Compatibility.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:86
ptmin
double ptmin
Definition:
HydjetWrapper.h:90
Point3DBase< float, GlobalTag >
SeedForPhotonConversion1Leg::thePropagatorLabel
std::string thePropagatorLabel
Definition:
SeedForPhotonConversion1Leg.h:73
TrajectorySeedCollection.h
edm::ParameterSet
Definition:
ParameterSet.h:36
TkClonerImpl
Definition:
TkClonerImpl.h:13
SeedForPhotonConversion1Leg::checkHit
bool checkHit(const TrajectoryStateOnSurface &, const SeedingHitSet::ConstRecHitPointer &hit, const edm::EventSetup &es) const
Definition:
SeedForPhotonConversion1Leg.h:47
SeedingHitSet.h
TrajectorySeed
Definition:
TrajectorySeed.h:17
CurvilinearTrajectoryError
Definition:
CurvilinearTrajectoryError.h:27
PrintRecoObjects
Definition:
PrintRecoObjects.h:22
Generated for CMSSW Reference Manual by
1.8.11