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
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