Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:17:45

0001 #include "PHG4CylinderCellv2.h"
0002 
0003 using namespace std;
0004 
0005 PHG4CylinderCellv2::PHG4CylinderCellv2()
0006   : PHG4CylinderCellv1()
0007   , ladder_phi_index(-9999)
0008   , ladder_z_index(-9999)
0009   , sensor_index("")
0010 {
0011 }
0012 
0013 void PHG4CylinderCellv2::identify(std::ostream& os) const
0014 {
0015   os << "PHG4CylinderCellv2: #" << cellid << " ";
0016   os << "(layer,binz,binphi,e,sensor_index,phi_index,z_index) = (";
0017   os << layer << ",";
0018   os << binz << ",";
0019   os << binphi << ",";
0020   os << get_edep() << ",";
0021   os << get_sensor_index() << ",";
0022   os << get_ladder_phi_index() << ",";
0023   os << get_ladder_z_index();
0024   os << ")";
0025   os << endl;
0026 }