13 std::cerr <<
"Use: " << argv[0] <<
" <gains to scale (.txt)> <result (.txt)> <scale factor>" << std::endl;
18 std::ifstream inStream (argv[1]);
19 std::ofstream outStream (argv[2]);
20 double scale = atof (argv[3]);
25 for (
unsigned i = 0;
i < channels.size();
i++) {
const Item * getValues(DetId fId, bool throwOnFail=true) const
float getValue(int fCapId) const
get value for capId = 0..3
int main(int argc, char **argv)
std::vector< DetId > getAllChannels() const
bool getObject(std::istream &fInput, HcalPedestals *fObject)
bool dumpObject(std::ostream &fOutput, const HcalPedestals &fObject)
bool addValues(const Item &myItem)