Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:24:03

0001 #ifndef SimDataFormatsValidationFormatsMaterialAccountingCalo_h
0002 #define SimDataFormatsValidationFormatsMaterialAccountingCalo_h
0003 
0004 #include <string>
0005 #include <vector>
0006 
0007 // struct to keep material accounting information along a track
0008 class MaterialAccountingCalo {
0009 public:
0010   MaterialAccountingCalo(void) { clear(); }
0011 
0012   void clear(void) {
0013     m_eta = m_phi = 0.;
0014     m_stepLen.clear();
0015     m_radLen.clear();
0016     m_intLen.clear();
0017     m_layers.clear();
0018   }
0019 
0020   double m_eta, m_phi;
0021   std::vector<double> m_stepLen, m_radLen, m_intLen;
0022   std::vector<int> m_layers;
0023 };
0024 
0025 typedef std::vector<MaterialAccountingCalo> MaterialAccountingCaloCollection;
0026 
0027 #endif  // MaterialAccountingCalo_h