DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DDG4
include
DDG4
Geant4DataDump.h
Go to the documentation of this file.
1
// $Id: $
2
//==========================================================================
3
// AIDA Detector description implementation for LCD
4
//--------------------------------------------------------------------------
5
// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
6
// All rights reserved.
7
//
8
// For the licensing terms see $DD4hepINSTALL/LICENSE.
9
// For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
10
//
11
// Author : M.Frank
12
//
13
//==========================================================================
14
15
#ifndef DD4HEP_DDG4_GEANT4DATADUMP_H
16
#define DD4HEP_DDG4_GEANT4DATADUMP_H
17
18
// Framework include files
19
#include "
DD4hep/Printout.h
"
20
#include "
DDG4/Geant4Data.h
"
21
#include "
DDG4/Geant4Particle.h
"
22
23
// C/C++ include files
24
#include <vector>
25
27
namespace
DD4hep {
28
30
namespace
Simulation {
31
33
38
class
Geant4DataDump
{
39
public
:
40
typedef
Geant4Particle
Particle
;
41
typedef
std::vector<Particle*>
Particles
;
42
43
typedef
SimpleTracker::Hit
TrackerHit
;
44
typedef
std::vector<SimpleTracker::Hit*>
TrackerHits
;
45
46
typedef
SimpleCalorimeter::Hit
CalorimeterHit
;
47
typedef
std::vector<SimpleCalorimeter::Hit*>
CalorimeterHits
;
48
49
protected
:
51
std::string
m_tag
;
52
53
public
:
55
Geant4DataDump
(
const
std::string& tag);
57
virtual
~Geant4DataDump
();
58
#if !(defined(G__DICTIONARY) || defined(__CLANG__) || defined(__CINT__) || defined(__MAKECINT__))
59
void
print
(
PrintLevel
level,
Geant4ParticleHandle
p)
const
;
61
#endif
62
void
print
(
PrintLevel
level,
const
std::string& container,
const
Particles
* parts);
64
66
void
print
(
PrintLevel
level,
const
TrackerHit
* h);
68
void
print
(
PrintLevel
level,
const
std::string& container,
const
TrackerHits
* hits);
69
71
void
print
(
PrintLevel
level,
const
CalorimeterHit
* h);
73
void
print
(
PrintLevel
level,
const
std::string& container,
const
CalorimeterHits
* hits);
74
75
};
76
}
// End namespace Simulation
77
}
// End namespace DD4hep
78
79
#endif
/* DD4HEP_DDG4_GEANT4DATADUMP_H */
DD4hep::Simulation::Geant4Tracker::Hit
DDG4 tracker hit class used by the generic DDG4 tracker sensitive detector.
Definition:
Geant4Data.h:228
DD4hep::Simulation::Geant4DataDump::CalorimeterHits
std::vector< SimpleCalorimeter::Hit * > CalorimeterHits
Definition:
Geant4DataDump.h:47
DD4hep::Simulation::Geant4DataDump::Particles
std::vector< Particle * > Particles
Definition:
Geant4DataDump.h:41
DD4hep::Simulation::Geant4Particle
Data structure to store the MC particle information.
Definition:
Geant4Particle.h:101
DD4hep::Simulation::Geant4DataDump::CalorimeterHit
SimpleCalorimeter::Hit CalorimeterHit
Definition:
Geant4DataDump.h:46
DD4hep::Simulation::Geant4Calorimeter::Hit
DDG4 calorimeter hit class used by the generic DDG4 calorimeter sensitive detector.
Definition:
Geant4Data.h:273
Geant4Data.h
DD4hep::Simulation::Geant4DataDump::Particle
Geant4Particle Particle
Definition:
Geant4DataDump.h:40
DD4hep::PrintLevel
PrintLevel
Definition:
Printout.h:47
DD4hep::Simulation::Geant4DataDump::TrackerHit
SimpleTracker::Hit TrackerHit
Definition:
Geant4DataDump.h:43
DD4hep::Simulation::Geant4DataDump::~Geant4DataDump
virtual ~Geant4DataDump()
Standard destructor.
Definition:
Geant4DataDump.cpp:30
Printout.h
DD4hep::Simulation::Geant4DataDump::TrackerHits
std::vector< SimpleTracker::Hit * > TrackerHits
Definition:
Geant4DataDump.h:44
DD4hep::Simulation::Geant4DataDump::Geant4DataDump
Geant4DataDump(const std::string &tag)
Default constructor.
Definition:
Geant4DataDump.cpp:26
Geant4Particle.h
DD4hep::Simulation::Geant4DataDump::m_tag
std::string m_tag
Tag variable.
Definition:
Geant4DataDump.h:51
DD4hep::Simulation::Geant4ParticleHandle
Data structure to access derived MC particle information.
Definition:
Geant4Particle.h:160
DD4hep::Simulation::Geant4DataDump
Class to dump the records of the intrinsic Geant4 event model.
Definition:
Geant4DataDump.h:38
DD4hep::Simulation::Geant4DataDump::print
void print(PrintLevel level, Geant4ParticleHandle p) const
Print a single particle to the output logging using the specified print level.
Definition:
Geant4DataDump.cpp:34
Generated on Fri Dec 2 2016 12:31:08 for DD4hep by
1.8.6