Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef MaterialBudgetTxt_h
0002 #define MaterialBudgetTxt_h 1
0003 
0004 #include <fstream>
0005 
0006 #include "Validation/Geometry/interface/MaterialBudgetFormat.h"
0007 
0008 class MaterialBudgetTxt : public MaterialBudgetFormat {
0009 public:
0010   MaterialBudgetTxt(std::shared_ptr<MaterialBudgetData> data, const std::string& fileName);
0011   ~MaterialBudgetTxt() override;
0012 
0013   void fillStartTrack() override;
0014   void fillPerStep() override;
0015   void fillEndTrack() override;
0016   void endOfRun() override;
0017 
0018 private:
0019   std::ofstream* theFile;
0020 };
0021 
0022 #endif