10 #define CONVERSION_H__
15 #include <trackbase_historic/SvtxClusterMap.h>
16 #include <trackbase_historic/SvtxVertex.h>
18 #include <GenFit/GFRaveVertex.h>
19 #include <TLorentzVector.h>
129 return std::pair<SvtxTrack*,SvtxTrack*>(
reco1,
reco2);
174 int trackDLayer(SvtxClusterMap* cmap,SvtxHitMap *hitmap);
178 int firstLayer(SvtxClusterMap* cmap,SvtxHitMap *hitmap);
188 double dist(TVector3*
vtx, SvtxClusterMap* cmap);
224 std::pair<TLorentzVector*,TLorentzVector*>
getRecoTlvs();
240 while (phi < 0 || 2*TMath::Pi() <= phi) {
241 if (phi < 0) phi += 2*TMath::Pi();
242 else phi -= 2*TMath::Pi();
250 inline static double DeltaPhi (
double phi1,
double phi2) {
253 double dphi = abs(phi1 - phi2);
254 while (dphi > TMath::Pi()) dphi = abs (dphi - 2*TMath::Pi());
264 void PrintPhotonRecoInfo(TLorentzVector *tlv_photon,TLorentzVector *tlv_electron, TLorentzVector *tlv_positron,
float mass);
303 #endif //CONVERSION_H__