CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MaterialAccountingCalo.h
Go to the documentation of this file.
1 #ifndef SimDataFormatsValidationFormatsMaterialAccountingCalo_h
2 #define SimDataFormatsValidationFormatsMaterialAccountingCalo_h
3 
4 #include <string>
5 #include <vector>
6 
7 // struct to keep material accounting information along a track
9 public:
11 
12  void clear(void) {
13  m_eta = m_phi = 0.;
14  m_stepLen.clear();
15  m_radLen.clear();
16  m_intLen.clear();
17  m_layers.clear();
18  }
19 
20  double m_eta, m_phi;
21  std::vector<double> m_stepLen, m_radLen, m_intLen;
22  std::vector<int> m_layers;
23 };
24 
25 typedef std::vector<MaterialAccountingCalo> MaterialAccountingCaloCollection;
26 
27 #endif // MaterialAccountingCalo_h
std::vector< MaterialAccountingCalo > MaterialAccountingCaloCollection
std::vector< double > m_radLen
std::vector< double > m_intLen
std::vector< double > m_stepLen