Main Page
Namespaces
Classes
Package Documentation
RecoTracker
TkTrackingRegions
plugins
TrackingSeedCandidates.h
Go to the documentation of this file.
1
#ifndef RecoTracker_TkTrackingRegions_TrackingSeedCandidates_h
2
#define RecoTracker_TkTrackingRegions_TrackingSeedCandidates_h
3
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
7
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
8
#include "
DataFormats/Candidate/interface/Candidate.h
"
9
#include "
DataFormats/Common/interface/Handle.h
"
10
11
#include <vector>
12
#include <utility>
13
14
class
TrackingSeedCandidates
{
15
public
:
16
17
enum class
SeedingMode
{
CANDIDATE_SEEDED
,
GLOBAL
};
18
//using Objects = std::pair< edm::Handle< reco::CandidateView > , std::pair < float, float > > ; // (origin, half-length in z)
19
using
Objects
= std::pair< const reco::CandidateView* , std::pair < float, float > > ;
// (origin, half-length in z)
20
TrackingSeedCandidates
(
const
edm::ParameterSet
& regPSet,
edm::ConsumesCollector
&& iC):
TrackingSeedCandidates
(regPSet, iC) {}
21
TrackingSeedCandidates
(
const
edm::ParameterSet
& regPSet,
edm::ConsumesCollector
& iC);
22
~TrackingSeedCandidates
() =
default
;
23
24
static
void
fillDescriptions
(
edm::ParameterSetDescription
& desc);
25
26
Objects
objects
(
const
edm::Event
&
iEvent
)
const
;
27
28
private
:
29
SeedingMode
m_seedingMode
;
30
float
m_deltaEta_Cand
;
31
float
m_deltaPhi_Cand
;
32
33
edm::EDGetTokenT<reco::CandidateView>
m_token_input
;
34
35
};
36
37
38
#endif
TrackingSeedCandidates::m_deltaPhi_Cand
float m_deltaPhi_Cand
Definition:
TrackingSeedCandidates.h:31
TrackingSeedCandidates::SeedingMode
SeedingMode
Definition:
TrackingSeedCandidates.h:17
Event.h
TrackingSeedCandidates
Definition:
TrackingSeedCandidates.h:14
TrackingSeedCandidates::m_seedingMode
SeedingMode m_seedingMode
Definition:
TrackingSeedCandidates.h:29
TrackingSeedCandidates::SeedingMode::CANDIDATE_SEEDED
edm::EDGetTokenT< reco::CandidateView >
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ParameterSet.h
Candidate.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
TrackingSeedCandidates::TrackingSeedCandidates
TrackingSeedCandidates(const edm::ParameterSet ®PSet, edm::ConsumesCollector &&iC)
Definition:
TrackingSeedCandidates.h:20
ParameterSetDescription.h
TrackingSeedCandidates::SeedingMode::GLOBAL
TrackingSeedCandidates::~TrackingSeedCandidates
~TrackingSeedCandidates()=default
TrackingSeedCandidates::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition:
TrackingSeedCandidates.cc:21
TrackingSeedCandidates::m_token_input
edm::EDGetTokenT< reco::CandidateView > m_token_input
Definition:
TrackingSeedCandidates.h:33
TrackingSeedCandidates::m_deltaEta_Cand
float m_deltaEta_Cand
Definition:
TrackingSeedCandidates.h:30
edm::ParameterSet
Definition:
ParameterSet.h:36
TrackingSeedCandidates::objects
Objects objects(const edm::Event &iEvent) const
Definition:
TrackingSeedCandidates.cc:28
edm::Event
Definition:
Event.h:71
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
TrackingSeedCandidates::Objects
std::pair< const reco::CandidateView *, std::pair< float, float > > Objects
Definition:
TrackingSeedCandidates.h:19
Handle.h
Generated for CMSSW Reference Manual by
1.8.11