100 std::string subDetName[3] = {
"HB",
"HE",
"HF"};
103 for (
int isub = 0; isub < 3; ++isub){
104 for (
int ieta = -41; ieta <= 41; ++ieta){
105 for (
int iphi = 1; iphi <=72; ++iphi){
106 for (
int depth = 1; depth <= 3; ++depth){
108 HcalDetId id(subDet[isub], ieta, iphi, depth);
116 for (
int i=0;
i<4; ++
i) {
129 std::string xmlOutputFileName(
tagname_);
130 xmlOutputFileName +=
".xml";
131 xml.
write(xmlOutputFileName);
int write(std::string target="stdout")
#define DEFINE_FWK_MODULE(type)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
double pedestal(int fCapId) const
get pedestal for capid=0..3
static bool validDetId(HcalSubdetector subdet, int tower_ieta, int tower_iphi, int depth)
DOMNode * add_hcal_channel_dataset(int ieta, int iphi, int depth, std::string subdetector, double ped, double gain, int flag)
~WriteL1TriggerObjetsXml()
double LUTrespcorrgain(int fCapId) const
get LUT corrected and response corrected gain for capid=0..3
WriteL1TriggerObjetsXml(const edm::ParameterSet &)
uint32_t getValue() const