CMS 3D CMS Logo

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 public:
13  virtual ~CaloMeanResponse();
14  double getWeight(int genPID, double genP);
15 
16 private:
18 
19  bool useTable;
20  double scale;
21  int piLast, pLast;
22  std::vector<int> pionTypes, protonTypes;
23  std::vector<double> pionMomentum, pionTable;
24  std::vector<double> protonMomentum, protonTable;
25 };
26 
27 #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