RecoTracker
SpecialSeedGenerators
interface
SeedGeneratorForCosmics.h
Go to the documentation of this file.
1
#ifndef SeedGeneratorForCosmics_H
2
#define SeedGeneratorForCosmics_H
3
8
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
9
#include "
RecoTracker/TkTrackingRegions/interface/GlobalTrackingRegion.h
"
10
//#include "RecoTracker/SpecialSeedGenerators/interface/SeedGeneratorFromLayerPairs.h"
11
#include "
FWCore/Framework/interface/EventSetup.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2DCollection.h
"
14
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit2DCollection.h
"
15
#include "
RecoTracker/TkHitPairs/interface/CosmicHitPairGenerator.h
"
16
#include "
MagneticField/Engine/interface/MagneticField.h
"
17
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
18
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateTransform.h
"
19
#include "
TrackingTools/MaterialEffects/interface/PropagatorWithMaterial.h
"
20
#include "
TrackingTools/KalmanUpdators/interface/KFUpdator.h
"
21
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
22
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHitBuilder.h
"
23
#include "
RecoPixelVertexing/PixelTriplets/interface/CosmicHitTripletGenerator.h
"
24
class
PixelSeedLayerPairs;
25
26
class
SeedGeneratorForCosmics
{
27
public
:
28
typedef
TrajectoryStateOnSurface
TSOS
;
29
SeedGeneratorForCosmics
(
const
edm::ParameterSet
&conf);
30
virtual
~SeedGeneratorForCosmics
(){};
31
void
init
(
const
SiStripRecHit2DCollection
&collstereo,
32
const
SiStripRecHit2DCollection
&collrphi,
33
const
SiStripMatchedRecHit2DCollection
&collmatched,
34
const
edm::EventSetup
&
c
);
35
36
void
run
(
TrajectorySeedCollection
&,
const
edm::EventSetup
&
c
);
37
bool
seeds
(
TrajectorySeedCollection
&
output
,
const
edm::EventSetup
&
c
,
const
TrackingRegion
&
region
);
38
39
private
:
40
int32_t
maxSeeds_
;
41
GlobalTrackingRegion
region
;
42
CosmicHitPairGenerator
*
thePairGenerator
;
43
CosmicHitTripletGenerator
*
theTripletGenerator
;
44
edm::ESHandle<MagneticField>
magfield
;
45
edm::ESHandle<TrackerGeometry>
tracker
;
46
47
KFUpdator
*
theUpdator
;
48
PropagatorWithMaterial
*
thePropagatorAl
;
49
PropagatorWithMaterial
*
thePropagatorOp
;
50
const
TransientTrackingRecHitBuilder
*
TTTRHBuilder
;
51
std::string
builderName
;
52
std::string
geometry
;
53
std::string
hitsforseeds
;
54
float
seedpt
;
55
OrderedHitPairs
HitPairs
;
56
OrderedHitTriplets
HitTriplets
;
57
58
//***top-bottom
59
bool
positiveYOnly
;
60
bool
negativeYOnly
;
61
//***
62
};
63
#endif
SeedGeneratorForCosmics::magfield
edm::ESHandle< MagneticField > magfield
Definition:
SeedGeneratorForCosmics.h:44
SeedGeneratorForCosmics::init
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &c)
Definition:
SeedGeneratorForCosmics.cc:8
OrderedHitPairs
Definition:
OrderedHitPairs.h:8
GlobalTrackingRegion.h
SeedGeneratorForCosmics::run
void run(TrajectorySeedCollection &, const edm::EventSetup &c)
Definition:
SeedGeneratorForCosmics.cc:67
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition:
TrajectorySeedCollection.h:6
convertSQLitetoXML_cfg.output
output
Definition:
convertSQLitetoXML_cfg.py:72
SiStripMatchedRecHit2DCollection.h
SeedGeneratorForCosmics::tracker
edm::ESHandle< TrackerGeometry > tracker
Definition:
SeedGeneratorForCosmics.h:45
TransientTrackingRecHit.h
GlobalTrackingRegion
Definition:
GlobalTrackingRegion.h:13
SeedGeneratorForCosmics::thePairGenerator
CosmicHitPairGenerator * thePairGenerator
Definition:
SeedGeneratorForCosmics.h:42
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
PropagatorWithMaterial
Definition:
PropagatorWithMaterial.h:25
SeedGeneratorForCosmics::thePropagatorAl
PropagatorWithMaterial * thePropagatorAl
Definition:
SeedGeneratorForCosmics.h:48
SeedGeneratorForCosmics::region
GlobalTrackingRegion region
Definition:
SeedGeneratorForCosmics.h:41
SeedGeneratorForCosmics::HitTriplets
OrderedHitTriplets HitTriplets
Definition:
SeedGeneratorForCosmics.h:56
SeedGeneratorForCosmics::thePropagatorOp
PropagatorWithMaterial * thePropagatorOp
Definition:
SeedGeneratorForCosmics.h:49
SeedGeneratorForCosmics::theTripletGenerator
CosmicHitTripletGenerator * theTripletGenerator
Definition:
SeedGeneratorForCosmics.h:43
SeedGeneratorForCosmics::positiveYOnly
bool positiveYOnly
Definition:
SeedGeneratorForCosmics.h:59
IdealMagneticFieldRecord.h
edm::ESHandle< MagneticField >
SeedGeneratorForCosmics::negativeYOnly
bool negativeYOnly
Definition:
SeedGeneratorForCosmics.h:60
SeedGeneratorForCosmics::seeds
bool seeds(TrajectorySeedCollection &output, const edm::EventSetup &c, const TrackingRegion ®ion)
Definition:
SeedGeneratorForCosmics.cc:75
KFUpdator.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SeedGeneratorForCosmics::hitsforseeds
std::string hitsforseeds
Definition:
SeedGeneratorForCosmics.h:53
OrderedHitTriplets
Definition:
OrderedHitTriplets.h:9
PropagatorWithMaterial.h
SeedGeneratorForCosmics::builderName
std::string builderName
Definition:
SeedGeneratorForCosmics.h:51
SeedGeneratorForCosmics::geometry
std::string geometry
Definition:
SeedGeneratorForCosmics.h:52
CosmicHitTripletGenerator.h
SeedGeneratorForCosmics::maxSeeds_
int32_t maxSeeds_
Definition:
SeedGeneratorForCosmics.h:40
SiStripRecHit2DCollection.h
SeedGeneratorForCosmics
Definition:
SeedGeneratorForCosmics.h:26
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
SeedGeneratorForCosmics::theUpdator
KFUpdator * theUpdator
Definition:
SeedGeneratorForCosmics.h:47
TrajectorySeedCollection.h
SeedGeneratorForCosmics::seedpt
float seedpt
Definition:
SeedGeneratorForCosmics.h:54
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edmNew::DetSetVector
Definition:
DetSetNew.h:13
CosmicHitTripletGenerator
Definition:
CosmicHitTripletGenerator.h:19
SeedGeneratorForCosmics::SeedGeneratorForCosmics
SeedGeneratorForCosmics(const edm::ParameterSet &conf)
Definition:
SeedGeneratorForCosmics.cc:45
CosmicHitPairGenerator
Definition:
CosmicHitPairGenerator.h:17
SeedGeneratorForCosmics::HitPairs
OrderedHitPairs HitPairs
Definition:
SeedGeneratorForCosmics.h:55
EventSetup.h
TrajectoryStateTransform.h
TrackingRegion
Definition:
TrackingRegion.h:41
TransientTrackingRecHitBuilder.h
CosmicHitPairGenerator.h
ParameterSet.h
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
SeedGeneratorForCosmics::TSOS
TrajectoryStateOnSurface TSOS
Definition:
SeedGeneratorForCosmics.h:28
TransientTrackingRecHitBuilder
Definition:
TransientTrackingRecHitBuilder.h:6
SeedGeneratorForCosmics::~SeedGeneratorForCosmics
virtual ~SeedGeneratorForCosmics()
Definition:
SeedGeneratorForCosmics.h:30
KFUpdator
Definition:
KFUpdator.h:32
SeedGeneratorForCosmics::TTTRHBuilder
const TransientTrackingRecHitBuilder * TTTRHBuilder
Definition:
SeedGeneratorForCosmics.h:50
Generated for CMSSW Reference Manual by
1.8.16