src
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
enum class
SeedingMode
{
CANDIDATE_SEEDED
,
GLOBAL
};
17
//using Objects = std::pair< edm::Handle< reco::CandidateView > , std::pair < float, float > > ; // (origin, half-length in z)
18
using
Objects
= std::pair<const reco::CandidateView*, std::pair<float, float> >;
// (origin, half-length in z)
19
TrackingSeedCandidates
(
const
edm::ParameterSet
& regPSet,
edm::ConsumesCollector
&& iC)
20
:
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
#endif
TrackingSeedCandidates::m_deltaPhi_Cand
float m_deltaPhi_Cand
Definition:
TrackingSeedCandidates.h:31
TrackingSeedCandidates::SeedingMode
SeedingMode
Definition:
TrackingSeedCandidates.h:16
TrackingSeedCandidates::Objects
std::pair< const reco::CandidateView *, std::pair< float, float > > Objects
Definition:
TrackingSeedCandidates.h:18
Event.h
TrackingSeedCandidates
Definition:
TrackingSeedCandidates.h:14
TrackingSeedCandidates::m_seedingMode
SeedingMode m_seedingMode
Definition:
TrackingSeedCandidates.h:29
TrackingSeedCandidates::SeedingMode::CANDIDATE_SEEDED
edm::EDGetTokenT
Definition:
EDGetToken.h:33
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:19
ParameterSetDescription.h
TrackingSeedCandidates::SeedingMode::GLOBAL
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
TrackingSeedCandidates::~TrackingSeedCandidates
~TrackingSeedCandidates()=default
TrackingSeedCandidates::fillDescriptions
static void fillDescriptions(edm::ParameterSetDescription &desc)
Definition:
TrackingSeedCandidates.cc:26
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:47
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
TrackingSeedCandidates::objects
Objects objects(const edm::Event &iEvent) const
Definition:
TrackingSeedCandidates.cc:33
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Handle.h
Generated for CMSSW Reference Manual by
1.8.14