test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloMeanResponse.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_CaloMeanResponse_h
2 #define SimG4CMS_CaloMeanResponse_h
3 
6 
7 #include <string>
8 #include <vector>
9 
11 
12 public:
13 
15  virtual ~CaloMeanResponse();
16  double getWeight(int genPID, double genP);
17 
18 private:
19 
21 
22  bool useTable;
23  double scale;
24  int piLast, pLast;
25  std::vector<int> pionTypes, protonTypes;
26  std::vector<double> pionMomentum, pionTable;
27  std::vector<double> protonMomentum, protonTable;
28 
29 };
30 
31 #endif // SimG4CMS_CaloMeanResponse_h
void readResponse(std::string fName)
std::vector< int > protonTypes
virtual ~CaloMeanResponse()
double getWeight(int genPID, double genP)
std::vector< double > protonMomentum
std::vector< double > pionTable
std::vector< int > pionTypes
CaloMeanResponse(edm::ParameterSet const &p)
std::vector< double > protonTable
std::vector< double > pionMomentum