Main Page
Namespaces
Classes
Package Documentation
src
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
17
18
public
:
19
20
calibXMLwriter
(
EcalSubdetector
=
EcalBarrel
);
21
~calibXMLwriter
();
22
23
void
writeLine
(
EBDetId
const
&,
float
);
24
void
writeLine
(
EEDetId
const
&,
float
);
25
26
27
private
:
28
EcalSubdetector
subdet_
;
29
FILE*
FILENAME
;
30
};
31
32
#endif
EcalSubdetector.h
EBDetId
Definition:
EBDetId.h:19
calibXMLwriter::FILENAME
FILE * FILENAME
Definition:
calibXMLwriter.h:29
calibXMLwriter::subdet_
EcalSubdetector subdet_
Definition:
calibXMLwriter.h:28
calibXMLwriter
Definition:
calibXMLwriter.h:15
calibXMLwriter::calibXMLwriter
calibXMLwriter(EcalSubdetector=EcalBarrel)
Definition:
calibXMLwriter.cc:5
EEDetId
Definition:
EEDetId.h:15
calibXMLwriter::~calibXMLwriter
~calibXMLwriter()
Definition:
calibXMLwriter.cc:25
calibXMLwriter::writeLine
void writeLine(EBDetId const &, float)
Definition:
calibXMLwriter.cc:36
EcalBarrel
Definition:
EcalSubdetector.h:11
EBDetId.h
EEDetId.h
EcalSubdetector
EcalSubdetector
Definition:
EcalSubdetector.h:11
DetId.h
Generated for CMSSW Reference Manual by
1.8.11