35 consumes<reco::TrackToTrackingParticleAssociator>(
edm::InputTag(
"trackAssociatorByChi2"));
58 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Reconstructing event number: " << iEvent.
id() <<
"\n";
65 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Exception during event number: " << iEvent.
id() <<
"\n";
67 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Found: " << (*tks).size() <<
" reconstructed tracks" 69 std::cout <<
"got " << (*tks).size() <<
" tracks " << std::endl;
77 std::vector<TransientTrack> t_tks = (*theB).build(tks);
79 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Found: " << t_tks.size() <<
" reconstructed tracks" 83 if (t_tks.size() > 1) {
95 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Exception during event number: " << iEvent.
id() <<
"\n";
99 tree->fill(tv, &sv, &recSimColl);
126 return *(tPC.begin());
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::vector< TrackingParticle > TrackingParticleCollection
TrackingVertex getSimVertex(const edm::Event &iEvent) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< reco::TrackCollection > token_tracks
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > token_associatorForParamAtPca
edm::EDGetTokenT< TrackingParticleCollection > token_TrackTruth
#define DEFINE_FWK_MODULE(type)
GlobalPoint position() const
void analyze(const edm::Event &, const edm::EventSetup &) override
CachingVertex< 5 > vertex(const std::vector< reco::TransientTrack > &tracks) const override
reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
T const * product() const
edm::EDGetTokenT< TrackingVertexCollection > token_VertexTruth
std::vector< TrackingVertex > TrackingVertexCollection
KVFTest(const edm::ParameterSet &)
edm::ParameterSet kvfPSet
T const * product() const