File indexing completed on 2024-04-06 12:19:13
0001 #ifndef HtrXmlPatternTool_h_included
0002 #define HtrXmlPatternTool_h_included 1
0003
0004 #include "DataFormats/HcalDetId/interface/HcalElectronicsId.h"
0005 #include "HtrXmlPatternSet.h"
0006 #include "HtrXmlPatternToolParameters.h"
0007 #include "HtrXmlPatternWriter.h"
0008
0009 class HtrXmlPatternTool {
0010 public:
0011 HtrXmlPatternTool(HtrXmlPatternToolParameters* m_params);
0012 ~HtrXmlPatternTool();
0013 void Fill(const HcalElectronicsId HEID, HBHEDigiCollection::const_iterator data);
0014 void Fill(const HcalElectronicsId HEID, HFDigiCollection::const_iterator data);
0015 void Fill(const HcalElectronicsId HEID, HODigiCollection::const_iterator data);
0016 void prepareDirs();
0017 void createHists();
0018 void writeXML();
0019 HtrXmlPatternSet* GetPatternSet() { return m_patternSet; }
0020
0021 private:
0022 HtrXmlPatternSet* m_patternSet;
0023 HtrXmlPatternToolParameters* m_params;
0024 HtrXmlPatternWriter m_xmlWriter;
0025 };
0026
0027 #endif