2 #include "math_constants.h"
6 #include "VertexData.h"
10 VertexData::VertexData() {
12 r=TVector3(999,999,999);
14 nUsedTrack=Lmax=nBtof=nBtofV=0;
15 nAnyMatch=nCtb=nBemc=nEemc=nTpc=0;
16 nAnyVeto=nCtbV=nBemcV=nEemcV=nTpcV=0;
22 void VertexData::print(ostream& os)
const {
23 os <<
" Vertex ID="<<
id<<
" nUsedTrack="<<nUsedTrack<<
" gPtSum="<< gPtSum<<
" Lmax="<< Lmax;
24 os <<
" match: any="<<nAnyMatch<<
"-"<<nAnyVeto<<
" CTB="<<nCtb<<
"-"<<nCtbV<<
" BEMC="<<nBemc<<
"-"<<nBemcV<<
" EEMC="<<nEemc<<
"-"<<nEemcV<<
" TPC="<<nTpc<<
"-"<<nTpcV;
25 os <<
" Vz="<<r.z()<<
" +/-"<<er.z()<<endl;