LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
UTIL/LCTOOLS.h
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/LCParameters.h"
9 #include "EVENT/LCRunHeader.h"
10 
11 namespace UTIL{
12 
19  class LCTOOLS{
20 
21  public:
22 
23 
28  static void dumpEvent(const EVENT::LCEvent* evt) ;
29 
33  static void dumpEventDetailed(const EVENT::LCEvent* evt) ;
34 
37  static void dumpRunHeader(const EVENT::LCRunHeader* run) ;
38 
41  static void printMCParticles(const EVENT::LCCollection* col ) ;
42 
45  static void printSimTrackerHits(const EVENT::LCCollection* col ) ;
46 
49  static void printTPCHits(const EVENT::LCCollection* col ) ;
50 
53  static void printTrackerRawData(const EVENT::LCCollection* col ) ;
54 
57  static void printTrackerData(const EVENT::LCCollection* col ) ;
58 
61  static void printTrackerPulse(const EVENT::LCCollection* col ) ;
62 
65  static void printTrackerHits(const EVENT::LCCollection* col ) ;
66 
69  static void printTrackerHitPlane(const EVENT::LCCollection* col ) ;
70 
73  static void printTrackerHitZCylinder(const EVENT::LCCollection* col ) ;
74 
77  static void printSimCalorimeterHits(const EVENT::LCCollection* col ) ;
78 
81  static void printCalorimeterHits(const EVENT::LCCollection* col ) ;
82 
85  static void printRawCalorimeterHits(const EVENT::LCCollection* col ) ;
86 
89  static void printLCFloatVecs( const EVENT::LCCollection* col ) ;
90 
93  static void printLCIntVecs( const EVENT::LCCollection* col ) ;
94 
97  static void printLCStrVecs( const EVENT::LCCollection* col ) ;
98 
101  static void printTracks( const EVENT::LCCollection* col ) ;
102 
105  static void printClusters( const EVENT::LCCollection* col ) ;
106 
109  static void printVertices( const EVENT::LCCollection* col ) ;
110 
113  static void printReconstructedParticles( const EVENT::LCCollection* col ) ;
114 
117  static void printLCGenericObjects( const EVENT::LCCollection* col ) ;
118 
121  static void printRelation( const EVENT::LCCollection* col ) ;
122 
125  static void printParameters( const EVENT::LCParameters& params );
126 
131  static std::string getSimulatorStatusString(const EVENT::MCParticle* mcp=0) ;
132 
133  static int printDaughterParticles(const EVENT::MCParticle* part, int index) ;
134 
135  }; // class
136 
137 } // namespace UTIL
138 
139 #endif /* ifndef UTILL_LCTOOLS_H */
static void printTrackerHitZCylinder(const EVENT::LCCollection *col)
Complete printout of all TrackerHits in the collection.
Definition: LCTOOLS.cc:382
static void printReconstructedParticles(const EVENT::LCCollection *col)
Complete printout of all ReconstructedParticles in the collection.
Definition: LCTOOLS.cc:975
static void printClusters(const EVENT::LCCollection *col)
Complete printout of all Clusters in the collection.
Definition: LCTOOLS.cc:833
static void printLCIntVecs(const EVENT::LCCollection *col)
Print LCIntVecs user extension vectors in the collection.
Definition: LCTOOLS.cc:682
static void printTrackerHitPlane(const EVENT::LCCollection *col)
Complete printout of all TrackerHits in the collection.
Definition: LCTOOLS.cc:339
Provides some basic functions for printing event data.
Definition: UTIL/LCTOOLS.h:19
Interface for the run header.
Definition: LCRunHeader.h:23
static void dumpEvent(const EVENT::LCEvent *evt)
Simple function to dump event contents to the screen.
Definition: LCTOOLS.cc:51
static void printSimTrackerHits(const EVENT::LCCollection *col)
Complete printout of all SimTrackerHits in the collection.
Definition: LCTOOLS.cc:262
static void printTrackerHits(const EVENT::LCCollection *col)
Complete printout of all TrackerHits in the collection.
Definition: LCTOOLS.cc:296
static void printSimCalorimeterHits(const EVENT::LCCollection *col)
Complete printout of all SimCalorimeterHits in the collection.
Definition: LCTOOLS.cc:712
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
static void printLCGenericObjects(const EVENT::LCCollection *col)
Complete printout of all LCGenericObjects in the collection.
Definition: LCTOOLS.cc:1092
Simple interface to store generic named parameters of type int, float and string. ...
Definition: LCParameters.h:28
static void printLCStrVecs(const EVENT::LCCollection *col)
Print LCStrVecs user extension vectors in the collection.
Definition: LCTOOLS.cc:603
static void printTracks(const EVENT::LCCollection *col)
Complete printout of all Tracks in the collection.
Definition: LCTOOLS.cc:229
The LCIO Monte Carlo particle.
Definition: MCParticle.h:27
static void printLCFloatVecs(const EVENT::LCCollection *col)
Print LCFloatVec user extension vectors in the collection.
Definition: LCTOOLS.cc:651
static void printTrackerRawData(const EVENT::LCCollection *col)
Complete printout of all TrackerRawData objects in the collection.
Definition: LCTOOLS.cc:425
static void dumpRunHeader(const EVENT::LCRunHeader *run)
Simple function to dump the run header to the screen.
Definition: LCTOOLS.cc:1365
The main event interface.
Definition: LCEvent.h:30
static void printCalorimeterHits(const EVENT::LCCollection *col)
Complete printout of all CalorimeterHits in the collection.
Definition: LCTOOLS.cc:752
static void printRelation(const EVENT::LCCollection *col)
Print the relation.
Definition: LCTOOLS.cc:1243
The generic collection used in LCIO.
Definition: LCCollection.h:29
static void printRawCalorimeterHits(const EVENT::LCCollection *col)
Complete printout of all RawCalorimeterHits in the collection.
Definition: LCTOOLS.cc:793
static void printParameters(const EVENT::LCParameters &params)
Print the parameters.
Definition: LCTOOLS.cc:1314
static void printTPCHits(const EVENT::LCCollection *col)
Complete printout of all TPCHits in the collection.
Definition: LCTOOLS.cc:534
static std::string getSimulatorStatusString(const EVENT::MCParticle *mcp=0)
Returns a string describing the simulator flag bits set for this particle.
Definition: LCTOOLS.cc:1377
static void printVertices(const EVENT::LCCollection *col)
Complete printout of all Vertices in the collection.
Definition: LCTOOLS.cc:950
static void printMCParticles(const EVENT::LCCollection *col)
Complete printout of all MCParticles in the collection.
Definition: LCTOOLS.cc:1130
static void printTrackerData(const EVENT::LCCollection *col)
Complete printout of all TrackerData objects in the collection.
Definition: LCTOOLS.cc:461
static void printTrackerPulse(const EVENT::LCCollection *col)
Complete printout of all TrackerPulse objects in the collection.
Definition: LCTOOLS.cc:497