39 edm::LogInfo(
"RecoVertex/KVFTrackUpdate") <<
"Reconstructing event number: " <<
iEvent.id() <<
"\n";
46 edm::LogInfo(
"RecoVertex/KVFTrackUpdate") <<
"Found: " << (*tks).size() <<
" reconstructed tracks" 48 edm::LogPrint(
"RecoVertex/KVFTrackUpdate") <<
"got " << (*tks).size() <<
" tracks " << std::endl;
55 std::vector<TransientTrack> t_tks = theB->build(tks);
57 edm::LogInfo(
"RecoVertex/KVFTrackUpdate") <<
"Found: " << t_tks.size() <<
" reconstructed tracks" 63 mat[0][0] = (20.e-04) * (20.
e-04);
64 mat[1][1] = (20.e-04) * (20.
e-04);
65 mat[2][2] = (5.3) * (5.3);
73 for (
unsigned int i = 0;
i < t_tks.size();
i++) {
75 edm::LogPrint(
"RecoVertex/KVFTrackUpdate") <<
"Chi2: " << std::get<2>(
a) << std::endl;
76 if (recoBeamSpotHandle.
isValid()) {
78 edm::LogPrint(
"RecoVertex/KVFTrackUpdate") <<
"Chi2: " << std::get<2>(
b) << std::endl;
84 edm::LogInfo(
"RecoVertex/KVFTrackUpdate") <<
"Exception during event number: " <<
iEvent.id() <<
"\n" 85 <<
err.what() <<
"\n";
edm::EDGetTokenT< reco::TrackCollection > token_tracks
T getParameter(std::string const &) const
std::tuple< bool, reco::TransientTrack, float > BTFtuple
KVFTrackUpdate(const edm::ParameterSet &)
void analyze(const edm::Event &, const edm::EventSetup &) override
BTFtuple constrain(const reco::TransientTrack &track, const GlobalPoint &priorPos, const GlobalError &priorError) const
#define DEFINE_FWK_MODULE(type)
bool getData(T &iHolder) const
Log< level::Warning, true > LogPrint
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > estoken_TTB
Log< level::Info, false > LogInfo
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33
~KVFTrackUpdate() override
edm::EDGetTokenT< reco::BeamSpot > token_beamSpot