20 : name_(cfg.getParameter<std::
string>(
"calibrationName"))
25 std::vector<IntegratedCalibrationBase::Values>
35 std::vector<ValuesIndexPair> derivsIndexPairs;
36 const unsigned int numNonZero = this->
derivatives(derivsIndexPairs,
41 for (
unsigned int i = 0;
i < numNonZero; ++
i) {
43 result[valuesIndex.second] = valuesIndex.first;
virtual unsigned int numParameters() const =0
How many parameters does this calibration define?
IntegratedCalibrationBase(const edm::ParameterSet &cfg)
Values and their parameter index.
std::pair< Values, unsigned int > ValuesIndexPair
x- and y-values
std::pair< double, double > Values
virtual std::vector< Values > derivatives(const TrackingRecHit &hit, const TrajectoryStateOnSurface &tsos, const edm::EventSetup &setup, const EventInfo &eventInfo) const
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
define event information passed to algorithms