EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EvalCluster.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EvalCluster.cc
1 #include "EvalCluster.h"
2 
3 #include <calobase/RawCluster.h>
4 
5 #include <CLHEP/Vector/ThreeVector.h>
6 
8 {
9  ce = clus->get_energy();
10  ctowers = clus->getNTowers();
11  cx = clus->get_x();
12  cy = clus->get_y();
13  cz = clus->get_z();
14  CLHEP::Hep3Vector cluspos = clus->get_position();
15  ceta = cluspos.getEta();
16  cphi = cluspos.getPhi();
17  ctheta = cluspos.getTheta();
18 }