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
CaloMeanResponse::pionTable
std::vector< double > pionTable
Definition: CaloMeanResponse.h:23
MessageLogger.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
CaloMeanResponse::CaloMeanResponse
CaloMeanResponse(edm::ParameterSet const &p)
Definition: CaloMeanResponse.cc:12
CaloMeanResponse::protonTable
std::vector< double > protonTable
Definition: CaloMeanResponse.h:24
CaloMeanResponse::pionTypes
std::vector< int > pionTypes
Definition: CaloMeanResponse.h:22
MainPageGenerator.fName
fName
Definition: MainPageGenerator.py:301
CaloMeanResponse::pionMomentum
std::vector< double > pionMomentum
Definition: CaloMeanResponse.h:23
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CaloMeanResponse::piLast
int piLast
Definition: CaloMeanResponse.h:21
CaloMeanResponse::useTable
bool useTable
Definition: CaloMeanResponse.h:19
edm::ParameterSet
Definition: ParameterSet.h:36
CaloMeanResponse::readResponse
void readResponse(std::string fName)
Definition: CaloMeanResponse.cc:94
CaloMeanResponse
Definition: CaloMeanResponse.h:10
CaloMeanResponse::pLast
int pLast
Definition: CaloMeanResponse.h:21
CaloMeanResponse::getWeight
double getWeight(int genPID, double genP)
Definition: CaloMeanResponse.cc:25
CaloMeanResponse::protonTypes
std::vector< int > protonTypes
Definition: CaloMeanResponse.h:22
ParameterSet.h
CaloMeanResponse::~CaloMeanResponse
virtual ~CaloMeanResponse()
Definition: CaloMeanResponse.cc:23
CaloMeanResponse::scale
double scale
Definition: CaloMeanResponse.h:20
CaloMeanResponse::protonMomentum
std::vector< double > protonMomentum
Definition: CaloMeanResponse.h:24