|
CEDViewer
1.12.0
|
Public Member Functions | |
| virtual Processor * | newProcessor () |
| virtual void | init () |
| Called at the begin of the job before anything is read. More... | |
| virtual void | processRunHeader (LCRunHeader *run) |
| Called for every run. | |
| virtual void | processEvent (LCEvent *evt) |
| Called for every event - the working horse. | |
| virtual void | check (LCEvent *evt) |
| virtual void | end () |
| Called after data processing for clean up. | |
| void | printParticle (int id, LCEvent *evt) |
| bool | detailledDrawing (std::string detName) |
| void | drawDD4LCIO (LCEvent *evt, DD4hep::Geometry::LCDD &lcdd) |
| LCIO collection based viewer function for CED event dislplay (A. More... | |
| void | drawCluster (DD4hep::Geometry::LCDD &lcdd, int &layer, unsigned &np, std::string colName, int &marker, LCCollection *col, int &size) |
| void | drawTrack (DD4hep::Geometry::LCDD &lcdd, int &layer, unsigned &np, std::string colName, int &marker, LCCollection *col, int &size) |
| void | drawMCParticle (DD4hep::Geometry::LCDD &lcdd, int &layer, unsigned &np, std::string colName, int &marker, LCCollection *col, int &size) |
| void | drawSIMTrackerHit (int &layer, unsigned &np, std::string colName, int &marker, LCCollection *col, std::vector< int > &_colors, int &size) |
| void | drawSIMCalorimeterHit (int &layer, unsigned &np, std::string colName, int &marker, LCCollection *col, std::vector< int > &_colors, int &size) |
| void | drawTrackerHit (int &layer, unsigned &np, std::string colName, int &marker, LCCollection *col, int &size) |
| void | drawCalorimeterHit (int &layer, unsigned &np, std::string colName, int &marker, LCCollection *col, int &size) |
| void | drawReconstructedParticle (DD4hep::Geometry::LCDD &lcdd, int &layer, unsigned &np, std::string colName, int &marker, LCCollection *col, int &size) |
| void | drawJets (DD4hep::Geometry::LCDD &lcdd, int layer, std::string colName, LCCollection *col) |
Protected Attributes | |
| StringVec | _drawCollections |
| StringVec | _drawCollectionsLayer |
| std::vector< DrawParameters > | drawParameters |
| int | _nRun |
| int | _nEvt |
| bool | _usingParticleGun |
| int | _drawHelixForTracks |
| int | _colorScheme |
| float | _mcpECut |
| float | _helix_max_r |
| float | _helix_max_z |
| bool | _useTrackerForLimitsOfHelix |
| int | _waitForKeyboard |
| int | _drawHelixForPFOs |
| int | _useColorForHelixTracks |
| int | _drawEllipsoidForPFOClusters |
| IntVec | _colors |
| bool | _begin |
| StringVec | _detailled |
| StringVec | _jets |
| bool | _surfaces |
| void DDCEDViewer::drawDD4LCIO | ( | LCEvent * | evt, |
| DD4hep::Geometry::LCDD & | lcdd | ||
| ) |
LCIO collection based viewer function for CED event dislplay (A.
Zhelezov). Define the collection name, marker, size and optionally the layer number in the steering file. For 'DrawCollection' a default layer number in CED is chosen.
| DrawCollection | - collection to be displayed ( ColName, marker type[0-2] ) |
| DrawInLayer | - collection to be displayed ( ColName, marker type[0-2], size) |
Modified original code by Thorben Quast (CERN Summer Student 2015) on 07 August 2015.
Referenced by processEvent().
|
virtual |
Called at the begin of the job before anything is read.
Use to initialize the processor, e.g. book histograms.
1.8.6