Provides some basic functions for printing event data. More...
#include <UTIL/LCTOOLS.h>
| Static Public Member Functions | |
| static void | dumpEvent (const EVENT::LCEvent *evt) | 
| Simple function to dump event contents to the screen. | |
| static void | dumpEventDetailed (const EVENT::LCEvent *evt) | 
| Dumps the whole event to the screen, using the dedicated print functions for the different collection types. | |
| static void | dumpRunHeader (const EVENT::LCRunHeader *run) | 
| Simple function to dump the run header to the screen. | |
| static void | printMCParticles (const EVENT::LCCollection *col) | 
| Complete printout of all MCParticles in the collection. | |
| static void | printSimTrackerHits (const EVENT::LCCollection *col) | 
| Complete printout of all SimTrackerHits in the collection. | |
| static void | printTPCHits (const EVENT::LCCollection *col) | 
| Complete printout of all TPCHits in the collection. | |
| static void | printTrackerRawData (const EVENT::LCCollection *col) | 
| Complete printout of all TrackerRawData objects in the collection. | |
| static void | printTrackerData (const EVENT::LCCollection *col) | 
| Complete printout of all TrackerData objects in the collection. | |
| static void | printTrackerPulse (const EVENT::LCCollection *col) | 
| Complete printout of all TrackerPulse objects in the collection. | |
| static void | printTrackerHits (const EVENT::LCCollection *col) | 
| Complete printout of all TrackerHits in the collection. | |
| static void | printTrackerHitPlane (const EVENT::LCCollection *col) | 
| Complete printout of all TrackerHits in the collection. | |
| static void | printTrackerHitZCylinder (const EVENT::LCCollection *col) | 
| Complete printout of all TrackerHits in the collection. | |
| static void | printSimCalorimeterHits (const EVENT::LCCollection *col) | 
| Complete printout of all SimCalorimeterHits in the collection. | |
| static void | printCalorimeterHits (const EVENT::LCCollection *col) | 
| Complete printout of all CalorimeterHits in the collection. | |
| static void | printRawCalorimeterHits (const EVENT::LCCollection *col) | 
| Complete printout of all RawCalorimeterHits in the collection. | |
| static void | printLCFloatVecs (const EVENT::LCCollection *col) | 
| Print LCFloatVec user extension vectors in the collection. | |
| static void | printLCIntVecs (const EVENT::LCCollection *col) | 
| Print LCIntVecs user extension vectors in the collection. | |
| static void | printLCStrVecs (const EVENT::LCCollection *col) | 
| Print LCStrVecs user extension vectors in the collection. | |
| static void | printTracks (const EVENT::LCCollection *col) | 
| Complete printout of all Tracks in the collection. | |
| static void | printClusters (const EVENT::LCCollection *col) | 
| Complete printout of all Clusters in the collection. | |
| static void | printVertices (const EVENT::LCCollection *col) | 
| Complete printout of all Vertices in the collection. | |
| static void | printReconstructedParticles (const EVENT::LCCollection *col) | 
| Complete printout of all ReconstructedParticles in the collection. | |
| static void | printLCGenericObjects (const EVENT::LCCollection *col) | 
| Complete printout of all LCGenericObjects in the collection. | |
| static void | printRelation (const EVENT::LCCollection *col) | 
| Print the relation. | |
| static void | printParameters (const EVENT::LCParameters ¶ms) | 
| Print the parameters. | |
| static std::string | getSimulatorStatusString (const EVENT::MCParticle *mcp=0) | 
| Returns a string describing the simulator flag bits set for this particle. | |
| static int | printDaughterParticles (const EVENT::MCParticle *part, int index) | 
| static std::string | getQualityBits (const EVENT::SimTrackerHit *sth=0) | 
| Returns a string describing the quality flag bits set for this SimTrackerHit. | |
Provides some basic functions for printing event data.
| void UTIL::LCTOOLS::dumpEvent | ( | const EVENT::LCEvent * | evt | ) |  [static] | 
Simple function to dump event contents to the screen.
Also demonstrates the access to event data through the EVENT interface. This is only a short format - one line per collection.
References EVENT::LCEvent::getCollection(), EVENT::LCEvent::getCollectionNames(), EVENT::LCEvent::getDetectorName(), EVENT::LCEvent::getEventNumber(), EVENT::LCCollection::getNumberOfElements(), EVENT::LCEvent::getRunNumber(), and EVENT::LCCollection::getTypeName().
| std::string UTIL::LCTOOLS::getQualityBits | ( | const EVENT::SimTrackerHit * | sth = 0 | ) |  [static] | 
Returns a string describing the quality flag bits set for this SimTrackerHit.
If no SimTrackerHit is given a string describing the bits is returned:
 
References EVENT::SimTrackerHit::getQuality(), EVENT::SimTrackerHit::isOverlay(), and EVENT::SimTrackerHit::isProducedBySecondary().
Referenced by printSimTrackerHits().
| std::string UTIL::LCTOOLS::getSimulatorStatusString | ( | const EVENT::MCParticle * | mcp = 0 | ) |  [static] | 
Returns a string describing the simulator flag bits set for this particle.
If no MCParticle given a string describing the bits is returned:
 
References EVENT::MCParticle::getSimulatorStatus(), EVENT::MCParticle::hasLeftDetector(), EVENT::MCParticle::isBackscatter(), EVENT::MCParticle::isCreatedInSimulation(), EVENT::MCParticle::isDecayedInCalorimeter(), EVENT::MCParticle::isDecayedInTracker(), EVENT::MCParticle::isOverlay(), EVENT::MCParticle::isStopped(), and EVENT::MCParticle::vertexIsNotEndpointOfParent().
Referenced by printMCParticles().
 1.6.1
 1.6.1