Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:14:23

0001 #ifndef CALIB_XML_WRITER
0002 #define CALIB_XML_WRITER
0003 
0004 //
0005 // Writes out constants in xml file
0006 // readable by EventSetup
0007 // Author:  Lorenzo AGOSTINO
0008 
0009 #include "DataFormats/EcalDetId/interface/EBDetId.h"
0010 #include "DataFormats/EcalDetId/interface/EEDetId.h"
0011 #include "DataFormats/DetId/interface/DetId.h"
0012 #include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
0013 #include <iostream>
0014 
0015 class calibXMLwriter {
0016 public:
0017   calibXMLwriter(EcalSubdetector = EcalBarrel);
0018   ~calibXMLwriter();
0019 
0020   void writeLine(EBDetId const &, float);
0021   void writeLine(EEDetId const &, float);
0022 
0023 private:
0024   EcalSubdetector subdet_;
0025   FILE *FILENAME;
0026 };
0027 
0028 #endif