#include <CaloMeanResponse.h>
Public Member Functions | |
CaloMeanResponse (edm::ParameterSet const &p) | |
double | getWeight (int genPID, double genP) |
virtual | ~CaloMeanResponse () |
Private Member Functions | |
void | readResponse (std::string fName) |
Private Attributes | |
int | piLast |
std::vector< double > | pionMomentum |
std::vector< double > | pionTable |
std::vector< int > | pionTypes |
int | pLast |
std::vector< double > | protonMomentum |
std::vector< double > | protonTable |
std::vector< int > | protonTypes |
double | scale |
bool | useTable |
Definition at line 10 of file CaloMeanResponse.h.
CaloMeanResponse::CaloMeanResponse | ( | edm::ParameterSet const & | p | ) |
Definition at line 12 of file CaloMeanResponse.cc.
References fileCollector2::fName, personalPlayback::fp, edm::ParameterSet::getParameter(), AlCaHLTBitMon_ParallelJobs::p, readResponse(), scale, AlCaHLTBitMon_QueryRunRegistry::string, and useTable.
|
virtual |
Definition at line 23 of file CaloMeanResponse.cc.
double CaloMeanResponse::getWeight | ( | int | genPID, |
double | genP | ||
) |
Definition at line 25 of file CaloMeanResponse.cc.
References newFWLiteAna::found, mps_fire::i, piLast, pionMomentum, pionTable, pionTypes, pLast, protonMomentum, protonTable, protonTypes, scale, useTable, and mps_merge::weight.
|
private |
Definition at line 94 of file CaloMeanResponse.cc.
References fileCollector2::fName, mps_fire::i, recoMuon::in, timingPdfMaker::infile, createfilelist::int, npart, piLast, pionMomentum, pionTable, pionTypes, pLast, protonMomentum, protonTable, protonTypes, and particleFlowDisplacedVertex_cfi::ratio.
Referenced by CaloMeanResponse().
|
private |
Definition at line 21 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 23 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 23 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 22 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 21 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 24 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 24 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 22 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 20 of file CaloMeanResponse.h.
Referenced by CaloMeanResponse(), and getWeight().
|
private |
Definition at line 19 of file CaloMeanResponse.h.
Referenced by CaloMeanResponse(), and getWeight().