Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef MaterialBudgetHistos_h
0002 #define MaterialBudgetHistos_h 1
0003 
0004 #include "Validation/Geometry/interface/MaterialBudgetFormat.h"
0005 #include "Validation/Geometry/interface/TestHistoMgr.h"
0006 
0007 class MaterialBudgetHistos : public MaterialBudgetFormat {
0008 public:
0009   MaterialBudgetHistos(std::shared_ptr<MaterialBudgetData> data,
0010                        std::shared_ptr<TestHistoMgr> mgr,
0011                        const std::string& fileName);
0012   ~MaterialBudgetHistos() override {}
0013 
0014   void fillStartTrack() override;
0015   void fillPerStep() override;
0016   void fillEndTrack() override;
0017   void endOfRun() override;
0018 
0019 private:
0020   virtual void book();
0021 
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