LCIO
02.17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
include
UTIL
LCTOOLS.h
Go to the documentation of this file.
1
#ifndef UTIL_LCTOOLS_H
2
#define UTIL_LCTOOLS_H 1
3
4
#include <
iostream
>
5
6
#include "
EVENT/LCEvent.h
"
7
#include "
EVENT/MCParticle.h
"
8
#include "
EVENT/SimTrackerHit.h
"
9
#include "
EVENT/LCParameters.h
"
10
#include "
EVENT/LCRunHeader.h
"
11
12
namespace
UTIL{
13
20
class
LCTOOLS
{
21
22
public
:
23
24
29
static
void
dumpEvent
(
const
EVENT::LCEvent
* evt) ;
30
34
static
void
dumpEventDetailed
(
const
EVENT::LCEvent
* evt) ;
35
38
static
void
dumpRunHeader
(
const
EVENT::LCRunHeader
* run) ;
39
42
static
void
printMCParticles
(
const
EVENT::LCCollection
* col ) ;
43
46
static
void
printSimTrackerHits
(
const
EVENT::LCCollection
* col ) ;
47
50
static
void
printTPCHits
(
const
EVENT::LCCollection
* col ) ;
51
54
static
void
printTrackerRawData
(
const
EVENT::LCCollection
* col ) ;
55
58
static
void
printTrackerData
(
const
EVENT::LCCollection
* col ) ;
59
62
static
void
printTrackerPulse
(
const
EVENT::LCCollection
* col ) ;
63
66
static
void
printTrackerHits
(
const
EVENT::LCCollection
* col ) ;
67
70
static
void
printTrackerHitPlane
(
const
EVENT::LCCollection
* col ) ;
71
74
static
void
printTrackerHitZCylinder
(
const
EVENT::LCCollection
* col ) ;
75
78
static
void
printSimCalorimeterHits
(
const
EVENT::LCCollection
* col ) ;
79
82
static
void
printCalorimeterHits
(
const
EVENT::LCCollection
* col ) ;
83
86
static
void
printRawCalorimeterHits
(
const
EVENT::LCCollection
* col ) ;
87
90
static
void
printLCFloatVecs
(
const
EVENT::LCCollection
* col ) ;
91
94
static
void
printLCIntVecs
(
const
EVENT::LCCollection
* col ) ;
95
98
static
void
printLCStrVecs
(
const
EVENT::LCCollection
* col ) ;
99
102
static
void
printTracks
(
const
EVENT::LCCollection
* col ) ;
103
106
static
void
printClusters
(
const
EVENT::LCCollection
* col ) ;
107
110
static
void
printVertices
(
const
EVENT::LCCollection
* col ) ;
111
114
static
void
printReconstructedParticles
(
const
EVENT::LCCollection
* col ) ;
115
118
static
void
printLCGenericObjects
(
const
EVENT::LCCollection
* col ) ;
119
122
static
void
printRelation
(
const
EVENT::LCCollection
* col ) ;
123
126
static
void
printParameters
(
const
EVENT::LCParameters
& params );
127
132
static
std::string
getSimulatorStatusString
(
const
EVENT::MCParticle
* mcp=0) ;
133
134
static
int
printDaughterParticles
(
const
EVENT::MCParticle
* part,
int
index) ;
135
136
141
static
std::string
getQualityBits
(
const
EVENT::SimTrackerHit
* sth=0);
142
143
};
// class
144
145
}
// namespace UTIL
146
147
#endif
/* ifndef UTILL_LCTOOLS_H */
UTIL::LCTOOLS::printTrackerHitZCylinder
static void printTrackerHitZCylinder(const EVENT::LCCollection *col)
Complete printout of all TrackerHits in the collection.
Definition:
LCTOOLS.cc:383
UTIL::LCTOOLS::printReconstructedParticles
static void printReconstructedParticles(const EVENT::LCCollection *col)
Complete printout of all ReconstructedParticles in the collection.
Definition:
LCTOOLS.cc:976
UTIL::LCTOOLS::printClusters
static void printClusters(const EVENT::LCCollection *col)
Complete printout of all Clusters in the collection.
Definition:
LCTOOLS.cc:834
UTIL::LCTOOLS::printLCIntVecs
static void printLCIntVecs(const EVENT::LCCollection *col)
Print LCIntVecs user extension vectors in the collection.
Definition:
LCTOOLS.cc:683
UTIL::LCTOOLS::printTrackerHitPlane
static void printTrackerHitPlane(const EVENT::LCCollection *col)
Complete printout of all TrackerHits in the collection.
Definition:
LCTOOLS.cc:340
UTIL::LCTOOLS
Provides some basic functions for printing event data.
Definition:
LCTOOLS.h:20
EVENT::LCRunHeader
Interface for the run header.
Definition:
LCRunHeader.h:23
EVENT::SimTrackerHit
A generic simulated tracker hit.
Definition:
SimTrackerHit.h:23
UTIL::LCTOOLS::dumpEvent
static void dumpEvent(const EVENT::LCEvent *evt)
Simple function to dump event contents to the screen.
Definition:
LCTOOLS.cc:51
UTIL::LCTOOLS::printSimTrackerHits
static void printSimTrackerHits(const EVENT::LCCollection *col)
Complete printout of all SimTrackerHits in the collection.
Definition:
LCTOOLS.cc:262
UTIL::LCTOOLS::printTrackerHits
static void printTrackerHits(const EVENT::LCCollection *col)
Complete printout of all TrackerHits in the collection.
Definition:
LCTOOLS.cc:297
iostream
UTIL::LCTOOLS::printSimCalorimeterHits
static void printSimCalorimeterHits(const EVENT::LCCollection *col)
Complete printout of all SimCalorimeterHits in the collection.
Definition:
LCTOOLS.cc:713
MCParticle.h
UTIL::LCTOOLS::dumpEventDetailed
static void dumpEventDetailed(const EVENT::LCEvent *evt)
Dumps the whole event to the screen, using the dedicated print functions for the different collection...
Definition:
LCTOOLS.cc:83
SimTrackerHit.h
std::string
STL class.
UTIL::LCTOOLS::printLCGenericObjects
static void printLCGenericObjects(const EVENT::LCCollection *col)
Complete printout of all LCGenericObjects in the collection.
Definition:
LCTOOLS.cc:1095
LCParameters.h
EVENT::LCParameters
Simple interface to store generic named parameters of type int, float and string. ...
Definition:
LCParameters.h:28
UTIL::LCTOOLS::printLCStrVecs
static void printLCStrVecs(const EVENT::LCCollection *col)
Print LCStrVecs user extension vectors in the collection.
Definition:
LCTOOLS.cc:604
UTIL::LCTOOLS::printTracks
static void printTracks(const EVENT::LCCollection *col)
Complete printout of all Tracks in the collection.
Definition:
LCTOOLS.cc:229
EVENT::MCParticle
The LCIO Monte Carlo particle.
Definition:
MCParticle.h:27
UTIL::LCTOOLS::getQualityBits
static std::string getQualityBits(const EVENT::SimTrackerHit *sth=0)
Returns a string describing the quality flag bits set for this SimTrackerHit.
Definition:
LCTOOLS.cc:1458
UTIL::LCTOOLS::printLCFloatVecs
static void printLCFloatVecs(const EVENT::LCCollection *col)
Print LCFloatVec user extension vectors in the collection.
Definition:
LCTOOLS.cc:652
UTIL::LCTOOLS::printTrackerRawData
static void printTrackerRawData(const EVENT::LCCollection *col)
Complete printout of all TrackerRawData objects in the collection.
Definition:
LCTOOLS.cc:426
UTIL::LCTOOLS::dumpRunHeader
static void dumpRunHeader(const EVENT::LCRunHeader *run)
Simple function to dump the run header to the screen.
Definition:
LCTOOLS.cc:1383
EVENT::LCEvent
The main event interface.
Definition:
LCEvent.h:31
UTIL::LCTOOLS::printCalorimeterHits
static void printCalorimeterHits(const EVENT::LCCollection *col)
Complete printout of all CalorimeterHits in the collection.
Definition:
LCTOOLS.cc:753
UTIL::LCTOOLS::printRelation
static void printRelation(const EVENT::LCCollection *col)
Print the relation.
Definition:
LCTOOLS.cc:1246
EVENT::LCCollection
The generic collection used in LCIO.
Definition:
LCCollection.h:29
UTIL::LCTOOLS::printRawCalorimeterHits
static void printRawCalorimeterHits(const EVENT::LCCollection *col)
Complete printout of all RawCalorimeterHits in the collection.
Definition:
LCTOOLS.cc:794
UTIL::LCTOOLS::printParameters
static void printParameters(const EVENT::LCParameters ¶ms)
Print the parameters.
Definition:
LCTOOLS.cc:1317
UTIL::LCTOOLS::printTPCHits
static void printTPCHits(const EVENT::LCCollection *col)
Complete printout of all TPCHits in the collection.
Definition:
LCTOOLS.cc:535
LCEvent.h
UTIL::LCTOOLS::getSimulatorStatusString
static std::string getSimulatorStatusString(const EVENT::MCParticle *mcp=0)
Returns a string describing the simulator flag bits set for this particle.
Definition:
LCTOOLS.cc:1395
UTIL::LCTOOLS::printVertices
static void printVertices(const EVENT::LCCollection *col)
Complete printout of all Vertices in the collection.
Definition:
LCTOOLS.cc:951
UTIL::LCTOOLS::printMCParticles
static void printMCParticles(const EVENT::LCCollection *col)
Complete printout of all MCParticles in the collection.
Definition:
LCTOOLS.cc:1133
LCRunHeader.h
UTIL::LCTOOLS::printDaughterParticles
static int printDaughterParticles(const EVENT::MCParticle *part, int index)
Definition:
LCTOOLS.cc:1281
UTIL::LCTOOLS::printTrackerData
static void printTrackerData(const EVENT::LCCollection *col)
Complete printout of all TrackerData objects in the collection.
Definition:
LCTOOLS.cc:462
UTIL::LCTOOLS::printTrackerPulse
static void printTrackerPulse(const EVENT::LCCollection *col)
Complete printout of all TrackerPulse objects in the collection.
Definition:
LCTOOLS.cc:498
Generated on Thu Dec 16 2021 15:42:53 for LCIO by
1.8.5