1#ifndef CLASS_DQAPi0INFO_H
2#define CLASS_DQAPI0INFO_H
13#include "CLHEP/Vector/LorentzVector.h"
52 m_energyThreshold_b = energyThreshold_b;
53 m_energyThreshold_e = energyThreshold_e;
55void setCosTheta(
double costheta_b,
double costheta_e1,
double costheta_e2)
57 m_costheta_b = costheta_b;
58 m_costheta_e1 = costheta_e1;
59 m_costheta_e2 = costheta_e2;
63 if (m_shower0 == 0 || m_shower1 == 0 )
return false;
66 double eraw1 = photon1->
energy();
67 double phiemc1 = photon1->
phi();
69 double eraw2 = photon2->
energy();
70 double phiemc2 = photon2->
phi();
74 if (!((costheta1 < m_costheta_b && eraw1 > m_energyThreshold_b ) ||
75 (costheta1 > m_costheta_e1 && costheta1 < m_costheta_e2 && eraw1 > m_energyThreshold_e )))
77 if (!((costheta2 < m_costheta_b && eraw2 > m_energyThreshold_b ) ||
78 (costheta2 > m_costheta_e1 && costheta2 < m_costheta_e2 && eraw2 > m_energyThreshold_e )))
81 HepLorentzVector pemc1;
87 HepLorentzVector pemc2;
93 HepLorentzVector ppi0=pemc1+pemc2;
101HepLorentzVector m_p4;
103double m_energyThreshold_b;
104double m_energyThreshold_e;
double sin(const BesAngle a)
double cos(const BesAngle a)
void setEnergyThreshold(double energyThreshold_b, double energyThreshold_e)
void setchilds(EvtRecTrack *shower0, EvtRecTrack *shower1)
void setCosTheta(double costheta_b, double costheta_e1, double costheta_e2)
void setchild(int n, EvtRecTrack *shower)
EvtRecTrack * getchild(int n)
RecEmcShower * emcShower()