Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:13

0001 #ifndef MaterialBudgetEcalHistos_h
0002 #define MaterialBudgetEcalHistos_h 1
0003 
0004 #include "Validation/Geometry/interface/MaterialBudgetFormat.h"
0005 #include "Validation/Geometry/interface/TestHistoMgr.h"
0006 
0007 #include <string>
0008 
0009 class MaterialBudgetEcalHistos : public MaterialBudgetFormat {
0010 public:
0011   MaterialBudgetEcalHistos(std::shared_ptr<MaterialBudgetData> data,
0012                            std::shared_ptr<TestHistoMgr> mgr,
0013                            const std::string& fileName);
0014   ~MaterialBudgetEcalHistos() override {}
0015   void fillStartTrack() override;
0016   void fillPerStep() override;
0017   void fillEndTrack() override;
0018   void endOfRun() override;
0019 
0020 private:
0021   virtual void book();
0022   double* theDmb;
0023   double* theX;
0024   double* theY;
0025   double* theZ;
0026   double* theVoluId;
0027   double* theMateId;
0028 
0029   std::shared_ptr<TestHistoMgr> hmgr;
0030 };
0031 
0032 #endif