Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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