12 std::cerr <<
"Use: " << argv[0] <<
" <gains to scale (.txt)> <result (.txt)> <scale factor>" << std::endl;
15 std::ifstream inStream (argv[1]);
16 std::ofstream outStream (argv[2]);
17 double scale = atof (argv[3]);
22 for (
unsigned i = 0;
i < channels.size();
i++) {
bool addValues(const Item &myItem, bool h2mode_=false)
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)
const Item * getValues(DetId fId) const