CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimHitPrinter.h
Go to the documentation of this file.
1 #ifndef SimHitPrinter_H
2 #define SimHitPrinter_H
3 
15 #include <string>
16 
19 
20 #include<fstream>
21 
23 public:
24  SimHitPrinter(std::string);
26 
27  void startNewSimHit(std::string);
28  void startNewEvent(int);
29 
30  void printId(int) const;
31  void printTrack(int) const;
32  void printPabs(float) const;
33  void printEloss(float) const;
34  void printLocal(LocalPoint,LocalPoint) const;
35  void printGlobal(GlobalPoint) const;
36 private:
37  static std::ofstream * theFile;
38 };
39 
40 #endif
41 
static std::ofstream * theFile
Definition: SimHitPrinter.h:37
void printTrack(int) const
void printLocal(LocalPoint, LocalPoint) const
void startNewEvent(int)
void printPabs(float) const
SimHitPrinter(std::string)
Definition: SimHitPrinter.cc:8
void printGlobal(GlobalPoint) const
void startNewSimHit(std::string)
void printEloss(float) const
void printId(int) const