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
SimHitPrinter::printTrack
void printTrack(int) const
Definition: SimHitPrinter.cc:60
SimHitPrinter::startNewSimHit
void startNewSimHit(std::string)
Definition: SimHitPrinter.cc:31
SimHitPrinter::startNewEvent
void startNewEvent(int)
Definition: SimHitPrinter.cc:46
SimHitPrinter::theFile
static std::atomic< std::ofstream * > theFile
Definition: SimHitPrinter.h:39
SimHitPrinter::printEloss
void printEloss(float) const
Definition: SimHitPrinter.cc:75
SimHitPrinter::printId
void printId(int) const
Definition: SimHitPrinter.cc:51
SimHitPrinter::SimHitPrinter
SimHitPrinter(std::string)
Definition: SimHitPrinter.cc:14
SimHitPrinter::printGlobal
void printGlobal(GlobalPoint) const
Definition: SimHitPrinter.cc:93
Point3DBase< float, LocalTag >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SimHitPrinter::printLocal
void printLocal(LocalPoint, LocalPoint) const
Definition: SimHitPrinter.cc:81
LocalPoint.h
SimHitPrinter::printPabs
void printPabs(float) const
Definition: SimHitPrinter.cc:69
SimHitPrinter
Definition: SimHitPrinter.h:23
SimHitPrinter::~SimHitPrinter
~SimHitPrinter()
Definition: SimHitPrinter.cc:27
GlobalPoint.h