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 
38 private:
39  static std::atomic<std::ofstream*> theFile;
40 };
41 
42 #endif
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:39
SimHitPrinter(std::string)
void printGlobal(GlobalPoint) const
void startNewSimHit(std::string)
void printEloss(float) const
void printId(int) const