SimG4CMS
Tracker
interface
TkSimHitPrinter.h
Go to the documentation of this file.
1
#ifndef SimG4CMS_TkSimHitPrinter_H
2
#define SimG4CMS_TkSimHitPrinter_H
3
4
#include "
DataFormats/GeometryVector/interface/LocalPoint.h
"
5
#include "
DataFormats/GeometryVector/interface/LocalVector.h
"
6
7
#include <string>
8
#include <fstream>
9
10
class
G4Track;
11
12
class
TkSimHitPrinter
{
13
public
:
14
TkSimHitPrinter
(
const
std::string
&);
15
~TkSimHitPrinter
();
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
Generated for CMSSW Reference Manual by
1.8.16