RecoTracker
SpecialSeedGenerators
interface
CosmicSeedCreator.h
Go to the documentation of this file.
1
#ifndef RecoTracker_TkSeedGenerator_CosmicSeedCreator_H
2
#define RecoTracker_TkSeedGenerator_CosmicSeedCreator_H
3
4
#include "
RecoTracker/TkSeedGenerator/interface/SeedCreator.h
"
5
#include "
RecoTracker/TkSeedingLayers/interface/SeedComparitor.h
"
6
#include "
FWCore/Framework/interface/ESHandle.h
"
7
#include "
MagneticField/Engine/interface/MagneticField.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
class
CosmicSeedCreator
final :
public
SeedCreator
{
11
public
:
12
CosmicSeedCreator
(
const
edm::ParameterSet
&extra) {
maxseeds_
= extra.
getParameter
<
int
>(
"maxseeds"
); }
13
14
~CosmicSeedCreator
()
override
{}
15
16
// initialize the "event dependent state"
17
void
init
(
const
TrackingRegion
&
region
,
const
edm::EventSetup
&es,
const
SeedComparitor
*
filter
)
override
;
18
19
// make job
20
// fill seedCollection with the "TrajectorySeed"
21
void
makeSeed
(
TrajectorySeedCollection
&
seedCollection
,
const
SeedingHitSet
&
hits
)
override
;
22
23
private
:
24
const
TrackingRegion
*
region
=
nullptr
;
25
const
SeedComparitor
*
filter
=
nullptr
;
26
edm::ESHandle<MagneticField>
bfield
;
27
28
unsigned
int
maxseeds_
;
29
};
30
#endif
CosmicSeedCreator::~CosmicSeedCreator
~CosmicSeedCreator() override
Definition:
CosmicSeedCreator.h:14
TrajectorySeedCollection
std::vector< TrajectorySeed > TrajectorySeedCollection
Definition:
TrajectorySeedCollection.h:6
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
ESHandle.h
SeedingHitSet
Definition:
SeedingHitSet.h:6
CosmicSeedCreator::filter
const SeedComparitor * filter
Definition:
CosmicSeedCreator.h:25
CosmicSeedCreator::CosmicSeedCreator
CosmicSeedCreator(const edm::ParameterSet &extra)
Definition:
CosmicSeedCreator.h:12
CosmicSeedCreator::bfield
edm::ESHandle< MagneticField > bfield
Definition:
CosmicSeedCreator.h:26
ElectronSeedTrackRefFix_cfi.seedCollection
seedCollection
Definition:
ElectronSeedTrackRefFix_cfi.py:9
SeedComparitor
Definition:
SeedComparitor.h:25
SeedCreator
Definition:
SeedCreator.h:15
edm::ESHandle< MagneticField >
CosmicSeedCreator::init
void init(const TrackingRegion ®ion, const edm::EventSetup &es, const SeedComparitor *filter) override
Definition:
CosmicSeedCreator.cc:17
CosmicSeedCreator::maxseeds_
unsigned int maxseeds_
Definition:
CosmicSeedCreator.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
SeedComparitor.h
CosmicSeedCreator::region
const TrackingRegion * region
Definition:
CosmicSeedCreator.h:24
CosmicSeedCreator::makeSeed
void makeSeed(TrajectorySeedCollection &seedCollection, const SeedingHitSet &hits) override
Definition:
CosmicSeedCreator.cc:24
SeedCreator.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
TrackingRegion
Definition:
TrackingRegion.h:41
ParameterSet.h
CosmicSeedCreator
Definition:
CosmicSeedCreator.h:10
Generated for CMSSW Reference Manual by
1.8.16