CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TkSimHitPrinter.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_TkSimHitPrinter_H
2 #define SimG4CMS_TkSimHitPrinter_H
3 
6 
7 #include <string>
8 #include <fstream>
9 
10 class G4Track;
11 
13 {
14 public:
17  void startNewSimHit(std::string,std::string,int,int,int);
20  void printHitData(float, float) const;
21  void printMomentumOfTrack(float, std::string, int sign) const;
23  void printGlobalMomentum(float,float,float)const ;
24 private:
25  int eventno;
26  static std::ofstream * theFile;
27 };
28 
29 #endif
30 
TkSimHitPrinter(std::string)
double sign(double x)
void printMomentumOfTrack(float, std::string, int sign) const
void printHitData(float, float) const
void printGlobalMomentum(float, float, float) const
static std::ofstream * theFile
void printGlobal(Local3DPoint, Local3DPoint) const
void startNewSimHit(std::string, std::string, int, int, int)
void printLocal(Local3DPoint, Local3DPoint) const
int getPropagationSign(Local3DPoint, Local3DPoint)