33 <<
"Initializing KVF TEST analyser - Output file: " <<
outputFile_ <<
"\n";
72 <<
"Reconstructing event number: " << iEvent.
id() <<
"\n";
80 <<
"Exception during event number: " << iEvent.
id()
84 <<
"Found: " << (*tks).size() <<
" reconstructed tracks" <<
"\n";
85 std::cout <<
"got " << (*tks).size() <<
" tracks " << std::endl;
93 std::vector<TransientTrack> t_tks = (*theB).build(tks);
96 <<
"Found: " << t_tks.size() <<
" reconstructed tracks" <<
"\n";
99 if (t_tks.size() > 1) {
110 if (!TPCollectionH.
isValid()) {
112 <<
"Exception during event number: " << iEvent.
id()
118 tree->fill(tv, &sv, &recSimColl);
146 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
#define DEFINE_FWK_MODULE(type)
virtual CachingVertex< 5 > vertex(const std::vector< reco::TransientTrack > &tracks) const
edm::EDGetTokenT< reco::TrackCollection > token_tracks
virtual void analyze(const edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< reco::TrackToTrackingParticleAssociator > token_associatorForParamAtPca
edm::EDGetTokenT< TrackingParticleCollection > token_TrackTruth
GlobalPoint position() const
std::unique_ptr< SimpleVertexTree > tree
T const * product() const
edm::EDGetTokenT< TrackingVertexCollection > token_VertexTruth
std::vector< TrackingVertex > TrackingVertexCollection
T const * product() const
KVFTest(const edm::ParameterSet &)
edm::ParameterSet kvfPSet