#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 32 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 22 of file InputData.cc.
References cms::cuda::assert(), l1tVertexFinder::AlgoSettings::debug(), ALCARECOPPSCalTrackBasedSel_cff::detid, TrackerGeometry::dets(), Exception, newFWLiteAna::found, edm::EventSetup::getData(), mps_fire::i, iEvent, TrackerTopology::isLower(), edm::HandleBase::isValid(), parents, jetUpdater_cfi::sort, TrackerTopology::stack(), StripSubdetector::TID, StripSubdetector::TOB, cmsswSequenceInfo::tp, bphysicsOniaDQM_cfi::vertex, HltBtagValidation_cff::Vertex, and l1tVertexFinder::AlgoSettings::vx_minTracks().
l1tVertexFinder::InputData::~InputData | ( | ) |
Definition at line 184 of file InputData.cc.
|
inline |
|
inline |
|
inline |
Get primary vertex information (vertex from gen particles)
Definition at line 63 of file InputData.h.
References genVertex_.
Referenced by l1tVertexFinder::VertexNTupler::analyze().
|
inline |
Get primary vertex information (vertex from HepMCProduct)
Definition at line 61 of file InputData.h.
References hepMCVertex_.
Referenced by l1tVertexFinder::VertexNTupler::analyze().
|
inline |
Get pile-up vertices information.
Definition at line 67 of file InputData.h.
References vertices_.
Referenced by l1tVertexFinder::VertexNTupler::analyze().
|
inline |
Get primary vertex information (vertex from tracking particles)
Definition at line 65 of file InputData.h.
References vertex_.
|
inline |
Get reconstructable pile-up vertices information.
Definition at line 69 of file InputData.h.
References recoVertices_.
|
inline |
Get the TrackingParticle to TP translation map.
Definition at line 59 of file InputData.h.
References tpPtrToRefMap_.
Referenced by l1tVertexFinder::VertexNTupler::analyze().
|
private |
Definition at line 84 of file InputData.h.
Referenced by genPt().
|
private |
Definition at line 85 of file InputData.h.
Referenced by genPt_PU().
|
private |
Definition at line 76 of file InputData.h.
Referenced by getGenVertex().
|
private |
Definition at line 75 of file InputData.h.
Referenced by getHepMCVertex().
|
private |
Definition at line 79 of file InputData.h.
Referenced by getRecoPileUpVertices().
|
private |
Definition at line 83 of file InputData.h.
Referenced by getTPPtrToRefMap().
|
private |
Definition at line 81 of file InputData.h.
|
private |
Definition at line 77 of file InputData.h.
Referenced by getPrimaryVertex().
|
private |
Definition at line 78 of file InputData.h.
Referenced by getPileUpVertices().