#include <InputData.h>
Classes | |
struct | SortVertexByPt |
struct | SortVertexByZ0 |
Public Member Functions | |
const float | genPt () const |
const float | genPt_PU () const |
const Vertex & | getGenVertex () const |
Get primary vertex information (vertex from gen particles) More... | |
const Vertex & | getHepMCVertex () const |
Get primary vertex information (vertex from HepMCProduct) More... | |
const std::vector< Vertex > & | getPileUpVertices () const |
Get pile-up vertices information. More... | |
const Vertex & | getPrimaryVertex () const |
Get primary vertex information (vertex from tracking particles) More... | |
const std::vector< Vertex > & | getRecoPileUpVertices () const |
Get reconstructable pile-up vertices information. More... | |
const TPPtrToRefMap & | getTPPtrToRefMap () const |
Get the TrackingParticle to TP translation map. More... | |
InputData () | |
Constructor and destructor. More... | |
InputData (const edm::Event &iEvent, const edm::EventSetup &iSetup, const AnalysisSettings &settings, const edm::EDGetTokenT< edm::HepMCProduct > hepMCToken, const edm::EDGetTokenT< edm::View< reco::GenParticle >> genParticlesToken, const edm::EDGetTokenT< edm::View< TrackingParticle >> tpToken, const edm::EDGetTokenT< edm::ValueMap< l1tVertexFinder::TP >> tpValueMapToken, const edm::EDGetTokenT< DetSetVec > stubToken, const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken, const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tGeomToken) | |
~InputData () | |
Private Attributes | |
float | genPt_ |
float | genPt_PU_ |
Vertex | genVertex_ |
Vertex | hepMCVertex_ |
std::vector< Vertex > | recoVertices_ |
TPPtrToRefMap | tpPtrToRefMap_ |
std::vector< Stub > | vAllStubs_ |
Vertex | vertex_ |
std::vector< Vertex > | vertices_ |
Definition at line 35 of file InputData.h.
l1tVertexFinder::InputData::InputData | ( | ) |
l1tVertexFinder::InputData::InputData | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup, | ||
const AnalysisSettings & | settings, | ||
const edm::EDGetTokenT< edm::HepMCProduct > | hepMCToken, | ||
const edm::EDGetTokenT< edm::View< reco::GenParticle >> | genParticlesToken, | ||
const edm::EDGetTokenT< edm::View< TrackingParticle >> | tpToken, | ||
const edm::EDGetTokenT< edm::ValueMap< l1tVertexFinder::TP >> | tpValueMapToken, | ||
const edm::EDGetTokenT< DetSetVec > | stubToken, | ||
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken, | ||
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | tGeomToken | ||
) |
Definition at line 23 of file InputData.cc.
References cms::cuda::assert(), l1tVertexFinder::AlgoSettings::debug(), TrackerGeometry::dets(), Exception, newFWLiteAna::found, edm::EventSetup::getData(), mps_fire::i, iEvent, TrackerTopology::isLower(), edm::HandleBase::isValid(), parents, jetUpdater_cfi::sort, TrackerTopology::stack(), DetId::subdetId(), StripSubdetector::TID, StripSubdetector::TOB, cmsswSequenceInfo::tp, bphysicsOniaDQM_cfi::vertex, HltBtagValidation_cff::Vertex, and l1tVertexFinder::AlgoSettings::vx_minTracks().
l1tVertexFinder::InputData::~InputData | ( | ) |
Definition at line 185 of file InputData.cc.
|
inline |
|
inline |
|
inline |
Get primary vertex information (vertex from gen particles)
Definition at line 66 of file InputData.h.
References genVertex_.
Referenced by l1tVertexFinder::VertexNTupler::analyze().
|
inline |
Get primary vertex information (vertex from HepMCProduct)
Definition at line 64 of file InputData.h.
References hepMCVertex_.
Referenced by l1tVertexFinder::VertexNTupler::analyze().
|
inline |
Get pile-up vertices information.
Definition at line 70 of file InputData.h.
References vertices_.
Referenced by l1tVertexFinder::VertexNTupler::analyze().
|
inline |
Get primary vertex information (vertex from tracking particles)
Definition at line 68 of file InputData.h.
References vertex_.
|
inline |
Get reconstructable pile-up vertices information.
Definition at line 72 of file InputData.h.
References recoVertices_.
|
inline |
Get the TrackingParticle to TP translation map.
Definition at line 62 of file InputData.h.
References tpPtrToRefMap_.
Referenced by l1tVertexFinder::VertexNTupler::analyze().
|
private |
Definition at line 87 of file InputData.h.
Referenced by genPt().
|
private |
Definition at line 88 of file InputData.h.
Referenced by genPt_PU().
|
private |
Definition at line 79 of file InputData.h.
Referenced by getGenVertex().
|
private |
Definition at line 78 of file InputData.h.
Referenced by getHepMCVertex().
|
private |
Definition at line 82 of file InputData.h.
Referenced by getRecoPileUpVertices().
|
private |
Definition at line 86 of file InputData.h.
Referenced by getTPPtrToRefMap().
|
private |
Definition at line 84 of file InputData.h.
|
private |
Definition at line 80 of file InputData.h.
Referenced by getPrimaryVertex().
|
private |
Definition at line 81 of file InputData.h.
Referenced by getPileUpVertices().