Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-04-03 08:12:35

0001 #include <iostream>
0002 #include <limits>
0003 #include <vector>
0004 
0005 class Tower {
0006     public:
0007         Tower() = default;
0008         ~Tower();
0009 
0010         void CopyTo(Tower* tower);
0011 
0012 
0013         float px() { return Px; };
0014         void set_px(float tmpPx) { Px = tmpPx; };
0015 
0016         float py() { return Py; };
0017         void set_py(float tmpPy) { Py = tmpPy; };
0018 
0019         float pz() { return Pz; };
0020         void set_pz(float tmpPz) { Pz = tmpPz; };
0021 
0022         float e() { return E; };
0023         void set_e(float tmpE) { E = tmpE; };
0024         
0025 
0026         int get_calo() { return calo; };
0027         void set_calo(int tmpCalo) { calo = tmpCalo; };
0028 
0029     private:
0030         float Px;
0031         float Py;
0032         float Pz;
0033         float E;
0034         int calo; //0=EMCal, 1=retowered EMCal, 2=IHCal, 3=OHCal
0035 
0036         //ClassDef(Tower,1);
0037 
0038 };