CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 printPabs(float) const
void printTrack(int) const
void printEloss(float) const
void printLocal(LocalPoint, LocalPoint) const
void printId(int) const
void startNewEvent(int)
static std::atomic< std::ofstream * > theFile
Definition: SimHitPrinter.h:39
SimHitPrinter(std::string)
void printGlobal(GlobalPoint) const
void startNewSimHit(std::string)