55 <<
"Reconstructing event number: " << iEvent.
id() <<
"\n";
63 <<
"Found: " << (*tks).size() <<
" reconstructed tracks" <<
"\n";
64 std::cout <<
"got " << (*tks).size() <<
" tracks " << std::endl;
72 std::vector<TransientTrack> t_tks = (*theB).build(tks);
75 <<
"Found: " << t_tks.size() <<
" reconstructed tracks" <<
"\n";
80 mat[0][0] = (20.e-04)*(20.
e-04);
81 mat[1][1] = (20.e-04)*(20.
e-04);
82 mat[2][2] = (5.3)*(5.3);
87 iEvent.
getByLabel(beamSpotLabel,recoBeamSpotHandle);
91 for (
unsigned int i = 0;
i<t_tks.size();
i++) {
94 std::cout <<
"Chi2: "<< a.get<2>()<<std::endl;
95 if (recoBeamSpotHandle.
isValid()){
97 stvc.
constrain(t_tks[i], *recoBeamSpotHandle);
98 std::cout <<
"Chi2: "<< b.get<2>()<<std::endl;
106 <<
"Exception during event number: " << iEvent.
id()
107 <<
"\n" << err.what() <<
"\n";
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
KVFTrackUpdate(const edm::ParameterSet &)
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
BTFtuple constrain(const reco::TransientTrack &track, const GlobalPoint &priorPos, const GlobalError &priorError) const
boost::tuple< bool, reco::TransientTrack, float > BTFtuple
virtual void analyze(const edm::Event &, const edm::EventSetup &)