CMS 3D CMS Logo

SimHitPrinter.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_Muon_SimHitPrinter_H
2 #define SimG4CMS_Muon_SimHitPrinter_H
3 
15 #include <string>
16 
19 
20 #include<fstream>
21 #include <atomic>
22 
24 public:
27 
29  void startNewEvent(int);
30 
31  void printId(int) const;
32  void printTrack(int) const;
33  void printPabs(float) const;
34  void printEloss(float) const;
35  void printLocal(LocalPoint,LocalPoint) const;
36  void printGlobal(GlobalPoint) const;
37 private:
38  static std::atomic<std::ofstream*> theFile;
39 };
40 
41 #endif
42 
void printTrack(int) const
void printLocal(LocalPoint, LocalPoint) const
void startNewEvent(int)
void printPabs(float) const
static std::atomic< std::ofstream * > theFile
Definition: SimHitPrinter.h:38
SimHitPrinter(std::string)
void printGlobal(GlobalPoint) const
void startNewSimHit(std::string)
void printEloss(float) const
void printId(int) const