Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTracker
TkSeedGenerator
interface
SeedFromConsecutiveHits.h
Go to the documentation of this file.
1
#ifndef SeedFromConsecutiveHits_H
2
#define SeedFromConsecutiveHits_H
3
8
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeed.h
"
9
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHit.h
"
10
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHit.h
"
11
#include "
DataFormats/GeometryCommonDetAlgo/interface/GlobalError.h
"
12
#include "
TrackingTools/PatternTools/interface/TrajectoryMeasurement.h
"
13
#include "
FWCore/Framework/interface/EventSetup.h
"
14
#include "
FWCore/Framework/interface/ESHandle.h
"
15
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
16
#include "
RecoTracker/TransientTrackingRecHit/interface/TkTransientTrackingRecHitBuilder.h
"
17
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateTransform.h
"
18
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
19
#include "
RecoTracker/TkSeedingLayers/interface/SeedingHitSet.h
"
20
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
21
22
#include "
RecoTracker/TkSeedGenerator/interface/SeedFromConsecutiveHitsCreator.h
"
23
#include "
RecoTracker/TkTrackingRegions/interface/GlobalTrackingRegion.h
"
24
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include <boost/shared_ptr.hpp>
27
28
class
SeedFromConsecutiveHits
{
29
30
public
:
31
typedef
edm::OwnVector<TrackingRecHit>
recHitContainer
;
32
33
SeedFromConsecutiveHits
(
const
SeedingHitSet
& hits,
34
const
GlobalPoint
& vertexPos,
const
GlobalError
& vertexErr,
35
const
edm::EventSetup
& es,
float
ptMin
,
double
theBOFFMomentum=-1.0)
36
{
37
GlobalTrackingRegion
region( ptMin, vertexPos,
sqrt
(vertexErr.
cxx
()),
sqrt
(vertexErr.
czz
()) );
38
SeedFromConsecutiveHitsCreator
creator(
"PropagatorWithMaterial"
,theBOFFMomentum);
39
theSeed
.clear();
40
creator.
trajectorySeed
(
theSeed
, hits, region, es);
41
}
42
43
virtual
~SeedFromConsecutiveHits
(){};
44
45
bool
isValid
() {
return
theSeed
.size()>0 ; }
46
47
TrajectorySeed
const
&
TrajSeed
(){
return
theSeed
.back(); }
48
49
private
:
50
TrajectorySeedCollection
theSeed
;
51
};
52
53
#endif
SeedFromConsecutiveHits::recHitContainer
edm::OwnVector< TrackingRecHit > recHitContainer
Definition:
SeedFromConsecutiveHits.h:31
TrajectoryMeasurement.h
SiPixelRecHit.h
GlobalError.h
GlobalErrorBase::cxx
T cxx() const
Definition:
GlobalErrorBase.h:78
EventSetup.h
GlobalTrackingRegion.h
TrajectoryStateTransform.h
SeedFromConsecutiveHits::theSeed
TrajectorySeedCollection theSeed
Definition:
SeedFromConsecutiveHits.h:50
SeedFromConsecutiveHits::TrajSeed
TrajectorySeed const & TrajSeed()
Definition:
SeedFromConsecutiveHits.h:47
SeedFromConsecutiveHits
Definition:
SeedFromConsecutiveHits.h:28
ParameterSet.h
TransientTrackingRecHit.h
SeedFromConsecutiveHitsCreator::trajectorySeed
virtual const TrajectorySeed * trajectorySeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &ordered, const TrackingRegion ®ion, const edm::EventSetup &es)
Definition:
SeedFromConsecutiveHitsCreator.cc:21
edm::OwnVector< TrackingRecHit >
TrackingRecHit.h
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition:
TrajectorySeedCollection.h:6
SeedFromConsecutiveHits::isValid
bool isValid()
Definition:
SeedFromConsecutiveHits.h:45
mathSSE::sqrt
T sqrt(T t)
Definition:
SSEVec.h:28
SeedingHitSet
Definition:
SeedingHitSet.h:6
TkTransientTrackingRecHitBuilder.h
ESHandle.h
SeedFromConsecutiveHitsCreator
Definition:
SeedFromConsecutiveHitsCreator.h:8
edm::EventSetup
Definition:
EventSetup.h:44
PtMinSelector_cfg.ptMin
tuple ptMin
Definition:
PtMinSelector_cfg.py:44
TrajectorySeed.h
GlobalErrorBase< double, ErrorMatrixTag >
GlobalErrorBase::czz
T czz() const
Definition:
GlobalErrorBase.h:98
GlobalTrackingRegion
Definition:
GlobalTrackingRegion.h:13
SeedFromConsecutiveHits::SeedFromConsecutiveHits
SeedFromConsecutiveHits(const SeedingHitSet &hits, const GlobalPoint &vertexPos, const GlobalError &vertexErr, const edm::EventSetup &es, float ptMin, double theBOFFMomentum=-1.0)
Definition:
SeedFromConsecutiveHits.h:33
SeedFromConsecutiveHits::~SeedFromConsecutiveHits
virtual ~SeedFromConsecutiveHits()
Definition:
SeedFromConsecutiveHits.h:43
Point3DBase< float, GlobalTag >
TrajectoryStateOnSurface.h
TrajectorySeedCollection.h
SeedingHitSet.h
TrajectorySeed
Definition:
TrajectorySeed.h:17
SeedFromConsecutiveHitsCreator.h
Generated for CMSSW Reference Manual by
1.8.5