Calibration
Tools
interface
calibXMLwriter.h
Go to the documentation of this file.
1
#ifndef CALIB_XML_WRITER
2
#define CALIB_XML_WRITER
3
4
//
5
// Writes out constants in xml file
6
// readable by EventSetup
7
// Author: Lorenzo AGOSTINO
8
9
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
10
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
11
#include "
DataFormats/DetId/interface/DetId.h
"
12
#include "
DataFormats/EcalDetId/interface/EcalSubdetector.h
"
13
#include <iostream>
14
15
class
calibXMLwriter
{
16
public
:
17
calibXMLwriter
(
EcalSubdetector
=
EcalBarrel
);
18
~calibXMLwriter
();
19
20
void
writeLine
(
EBDetId
const
&,
float
);
21
void
writeLine
(
EEDetId
const
&,
float
);
22
23
private
:
24
EcalSubdetector
subdet_
;
25
FILE *
FILENAME
;
26
};
27
28
#endif
EcalSubdetector.h
EBDetId
Definition:
EBDetId.h:17
calibXMLwriter::FILENAME
FILE * FILENAME
Definition:
calibXMLwriter.h:25
calibXMLwriter::subdet_
EcalSubdetector subdet_
Definition:
calibXMLwriter.h:24
calibXMLwriter
Definition:
calibXMLwriter.h:15
calibXMLwriter::calibXMLwriter
calibXMLwriter(EcalSubdetector=EcalBarrel)
Definition:
calibXMLwriter.cc:5
EEDetId
Definition:
EEDetId.h:14
calibXMLwriter::~calibXMLwriter
~calibXMLwriter()
Definition:
calibXMLwriter.cc:22
calibXMLwriter::writeLine
void writeLine(EBDetId const &, float)
Definition:
calibXMLwriter.cc:32
EcalBarrel
Definition:
EcalSubdetector.h:10
EBDetId.h
EEDetId.h
EcalSubdetector
EcalSubdetector
Definition:
EcalSubdetector.h:10
DetId.h
Generated for CMSSW Reference Manual by
1.8.14