Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef PI0CALIB_XML_WRITER
0002 #define PI0CALIB_XML_WRITER
0003 
0004 #include "DataFormats/EcalDetId/interface/EBDetId.h"
0005 #include "DataFormats/EcalDetId/interface/EEDetId.h"
0006 #include "DataFormats/DetId/interface/DetId.h"
0007 #include "DataFormats/EcalDetId/interface/EcalSubdetector.h"
0008 #include <iostream>
0009 
0010 class Pi0CalibXMLwriter {
0011 public:
0012   Pi0CalibXMLwriter(EcalSubdetector = EcalBarrel);
0013   Pi0CalibXMLwriter(EcalSubdetector = EcalBarrel, int = 0);
0014   ~Pi0CalibXMLwriter();
0015 
0016   void writeLine(EBDetId const &, float);
0017   void writeLine(EEDetId const &, float);
0018 
0019 private:
0020   EcalSubdetector subdet_;
0021   int loop_;
0022   FILE *FILENAME;
0023 };
0024 
0025 #endif