#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 edm::ParameterSet::getParameter(), readResponse(), scale, AlCaHLTBitMon_QueryRunRegistry::string, and useTable.
|
virtual |
Definition at line 26 of file CaloMeanResponse.cc.
double CaloMeanResponse::getWeight | ( | int | genPID, |
double | genP | ||
) |
Definition at line 28 of file CaloMeanResponse.cc.
References newFWLiteAna::found, i, LogDebug, piLast, pionMomentum, pionTable, pionTypes, pLast, protonMomentum, protonTable, protonTypes, scale, useTable, and histoStyle::weight.
Referenced by CaloSD::getResponseWt().
|
private |
Definition at line 92 of file CaloMeanResponse.cc.
References i, recoMuon::in, EdgesToViz::infile, LogDebug, npart, sysUtil::pid, piLast, pionMomentum, pionTable, pionTypes, pLast, protonMomentum, protonTable, and protonTypes.
Referenced by CaloMeanResponse().
|
private |
Definition at line 24 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 26 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 26 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 25 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 27 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 27 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 25 of file CaloMeanResponse.h.
Referenced by getWeight(), and readResponse().
|
private |
Definition at line 23 of file CaloMeanResponse.h.
Referenced by CaloMeanResponse(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Gui.VispaWidget.VispaWidget::drawHeaderBackground(), Vispa.Gui.ConnectableWidget.ConnectableWidget::drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget::getEffectivePortHeight(), getWeight(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), Vispa.Gui.VispaWidget.VispaWidget::move(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::sizeHint().
|
private |
Definition at line 22 of file CaloMeanResponse.h.
Referenced by CaloMeanResponse(), and getWeight().