32 consumes<reco::TrackToTrackingParticleAssociator>(
edm::InputTag(
"trackAssociatorByChi2"));
53 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Reconstructing event number: " <<
iEvent.id() <<
"\n";
60 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Exception during event number: " <<
iEvent.id() <<
"\n";
62 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Found: " << (*tks).size() <<
" reconstructed tracks" 64 edm::LogPrint(
"RecoVertex/KVFTest") <<
"got " << (*tks).size() <<
" tracks " << std::endl;
71 std::vector<TransientTrack> t_tks = theB->build(tks);
73 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Found: " << t_tks.size() <<
" reconstructed tracks" 77 if (t_tks.size() > 1) {
89 edm::LogInfo(
"RecoVertex/KVFTest") <<
"Exception during event number: " <<
iEvent.id() <<
"\n";
93 tree->fill(tv, &
sv, &recSimColl);
120 return *(tPC.begin());
T getParameter(std::string const &) const
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > estoken_MF
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
reco::RecoToSimCollection associateRecoToSim(const edm::Handle< edm::View< reco::Track >> &tCH, const edm::Handle< TrackingParticleCollection > &tPCH) const
GlobalPoint position() const
edm::EDGetTokenT< reco::TrackCollection > token_tracks
T const * product() const
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > token_associatorForParamAtPca
CachingVertex< 5 > vertex(const std::vector< reco::TransientTrack > &tracks) const override
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< TrackingParticleCollection > token_TrackTruth
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > estoken_TTB
void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
Log< level::Warning, true > LogPrint
Log< level::Info, false > LogInfo
edm::EDGetTokenT< TrackingVertexCollection > token_VertexTruth
std::vector< TrackingVertex > TrackingVertexCollection
KVFTest(const edm::ParameterSet &)
TrackingVertex getSimVertex(const edm::Event &iEvent) const
edm::ParameterSet kvfPSet
std::vector< TrackingParticle > TrackingParticleCollection