45 isEfficientBP = (mRandom(mGenerator) <= effBP);
51 effNBP = effBoth / effBP;
57 isEfficientNBP = (mRandom(mGenerator) <= effNBP);
59 return (isEfficientBP || isEfficientNBP);
MID RPC effciency response.
bool isEfficient(int deId, int columnId, int line, bool &isEfficientBP, bool &isEfficientNBP)
ChamberEfficiencyResponse(const ChamberEfficiency &efficiencyMap)
@ BendPlane
Bending plane efficiency.
@ BothPlanes
Both plane efficiency.
@ NonBendPlane
Non-bending plane efficiency.
double getEfficiency(int deId, int columnId, int lineId, EffType type) const
ChamberEfficiencyResponse createDefaultChamberEfficiencyResponse()
ChamberEfficiency createDefaultChamberEfficiency()
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...