Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
void | usage () |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 21 of file array2xmlEB.cc.
References HltBtagPostValidation_cff::c, gather_cfg::cout, beamvalidation::exit(), h, triggerObjects_cff::id, training_settings::idx, recoMuon::in, EEDetId::kSizeForDenseIndexing, EBDetId::unhashIndex(), EEDetId::unhashIndex(), usage(), EEDetId::validHashIndex(), and EcalFloatCondObjectContainerXMLTranslator::writeXML().
27 string arrayfilename(
argv[1]);
28 string xmlfilename(
argv[2]);
29 fstream arrayfile(arrayfilename.c_str(),
ios::in);
36 while (arrayfile >> c) {
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
static int writeXML(const std::string &filename, const EcalCondHeader &header, const EcalFloatCondObjectContainer &record)
static EEDetId unhashIndex(int hi)
static bool validHashIndex(int i)
static EBDetId unhashIndex(int hi)
get a DetId from a compact index for arrays
Definition at line 14 of file array2xmlEB.cc.
References gather_cfg::cout.
Referenced by main().
16 cout <<
"array2xml [arrayfile] [xmlfile]" << endl;
17 cout <<
"Read coefficients from straight array [denseindex]" << endl;
18 cout <<
"and write in xml format" << endl;