CMS 3D CMS Logo

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 public:
16  void startNewSimHit(const std::string&, const std::string&, int, int, int, int);
17  void printLocal(const Local3DPoint&, const Local3DPoint&) const;
18  void printGlobal(const Local3DPoint&, const Local3DPoint&) const;
19  void printHitData(const std::string&, float, float, float) const;
20  void printGlobalMomentum(float, float, float) const;
21 
22 private:
23  static std::ofstream* theFile;
24 };
25 
26 #endif
TkSimHitPrinter::~TkSimHitPrinter
~TkSimHitPrinter()
Definition: TkSimHitPrinter.cc:17
TkSimHitPrinter::startNewSimHit
void startNewSimHit(const std::string &, const std::string &, int, int, int, int)
Definition: TkSimHitPrinter.cc:19
TkSimHitPrinter::TkSimHitPrinter
TkSimHitPrinter(const std::string &)
Definition: TkSimHitPrinter.cc:10
Point3DBase< float, LocalTag >
TkSimHitPrinter::printGlobal
void printGlobal(const Local3DPoint &, const Local3DPoint &) const
Definition: TkSimHitPrinter.cc:28
TkSimHitPrinter::theFile
static std::ofstream * theFile
Definition: TkSimHitPrinter.h:23
TkSimHitPrinter::printLocal
void printLocal(const Local3DPoint &, const Local3DPoint &) const
Definition: TkSimHitPrinter.cc:23
TkSimHitPrinter::printHitData
void printHitData(const std::string &, float, float, float) const
Definition: TkSimHitPrinter.cc:33
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LocalPoint.h
TkSimHitPrinter::printGlobalMomentum
void printGlobalMomentum(float, float, float) const
Definition: TkSimHitPrinter.cc:36
TkSimHitPrinter
Definition: TkSimHitPrinter.h:12
LocalVector.h