MarlinTPC  1.2.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
marlintpc::TimePixTrackEventDisplayProcessor Class Reference

TimePixTrackEventDisplayProcessor draws all TrackerHits in an event as black dots (kFullDotMedium). More...

#include <TimePixTrackEventDisplayProcessor.h>

Inheritance diagram for marlintpc::TimePixTrackEventDisplayProcessor:

Public Member Functions

virtual Processor * newProcessor ()
 
virtual void init ()
 
virtual void processRunHeader (lcio::LCRunHeader *run)
 
virtual void processEvent (lcio::LCEvent *evt)
 
virtual void check (lcio::LCEvent *evt)
 
virtual void end ()
 

Static Public Member Functions

static TGraph * DrawHelixXY (const Track *const myTrack)
 Return TGraph with points on the helix projection in xy-plane
. More...
 
static TGraph * DrawStraightLineXY (const Track *const myTrack)
 Returns TGraph with two points in the xy-plane. More...
 
static TGraph * DrawStraightLineZX (const Track *const myTrack)
 Returns TGraph with two points in the zx-plane. More...
 
static TGraph * DrawHelixZX (const Track *const myTrack)
 Returns TGraph with points on the helix projection in zyx-plane. More...
 

Protected Attributes

std::string _inputColNameTracks
 
std::string _TrackerHitColName
 
int _outputIsTransient
 
TH2D * _FullXYHist
 
TH2D * _FullZXHist
 
TH2D * _FullZYHist
 
float _xMin
 
float _xMax
 
float _yMin
 
float _yMax
 
float _zMin
 
float _zMax
 
int _xPixel
 
int _yPixel
 
int _MaxNumberOfHistograms
 
int _CurNumberOfHistograms
 
TFile * _file
 
bool _fileOpen
 

Detailed Description

TimePixTrackEventDisplayProcessor draws all TrackerHits in an event as black dots (kFullDotMedium).

Also Tracks are draw on top of their corresponding Hits where the tracks and hits have the same color. Tracks are only drawn in the xy plane.

Author
M. Rogowski

Member Function Documentation

TGraph * marlintpc::TimePixTrackEventDisplayProcessor::DrawHelixXY ( const Track *const  myTrack)
static

Return TGraph with points on the helix projection in xy-plane
.

Parameters
myTrackthe track that provides the parameters for evaluations of the points

Return value:
  • an instance of TGraph filled with the evaluated points

References DrawStraightLineXY().

TGraph * marlintpc::TimePixTrackEventDisplayProcessor::DrawHelixZX ( const Track *const  myTrack)
static

Returns TGraph with points on the helix projection in zyx-plane.


Parameters
myTrackPointer to Track
Return value:
  • An instance of TGraph containing the evaluated points

References DrawStraightLineZX().

TGraph * marlintpc::TimePixTrackEventDisplayProcessor::DrawStraightLineXY ( const Track *const  myTrack)
static

Returns TGraph with two points in the xy-plane.


Parameters
myTrackPointer to Track
Return value:
  • An instance of TGraph containing the evaluated points

Referenced by DrawHelixXY().

TGraph * marlintpc::TimePixTrackEventDisplayProcessor::DrawStraightLineZX ( const Track *const  myTrack)
static

Returns TGraph with two points in the zx-plane.


Parameters
myTrackPointer to Track
Return value:
  • An instance of TGraph containing the evaluated points

Referenced by DrawHelixZX().

Member Data Documentation

int marlintpc::TimePixTrackEventDisplayProcessor::_CurNumberOfHistograms
protected
  • current number of created histograms
TFile* marlintpc::TimePixTrackEventDisplayProcessor::_file
protected
  • file pointer to the output root file
bool marlintpc::TimePixTrackEventDisplayProcessor::_fileOpen
protected
  • flag if file could be opened
TH2D* marlintpc::TimePixTrackEventDisplayProcessor::_FullXYHist
protected
  • vector of 2D histograms, displays all hits in event, XY plane
TH2D* marlintpc::TimePixTrackEventDisplayProcessor::_FullZXHist
protected
  • vector of 2D histograms, displays all hits from tracks, ZX plane
TH2D* marlintpc::TimePixTrackEventDisplayProcessor::_FullZYHist
protected
  • vector of 2D histograms, displays all hits from tracks, ZX plane
std::string marlintpc::TimePixTrackEventDisplayProcessor::_inputColNameTracks
protected
  • name of the input collection for tracks
int marlintpc::TimePixTrackEventDisplayProcessor::_MaxNumberOfHistograms
protected
  • maximum number of created histograms
int marlintpc::TimePixTrackEventDisplayProcessor::_outputIsTransient
protected
  • if not 0 the output collection is set transient (default 0)
std::string marlintpc::TimePixTrackEventDisplayProcessor::_TrackerHitColName
protected
  • the name of an collection that contains all TrackerHits; used to draw full event
float marlintpc::TimePixTrackEventDisplayProcessor::_xMax
protected
  • maximum value of x range
float marlintpc::TimePixTrackEventDisplayProcessor::_xMin
protected
  • minimum value of x range
int marlintpc::TimePixTrackEventDisplayProcessor::_xPixel
protected
  • number of pixels in x direction
float marlintpc::TimePixTrackEventDisplayProcessor::_yMax
protected
  • maximum value of y range
float marlintpc::TimePixTrackEventDisplayProcessor::_yMin
protected
  • minimum value of y range
int marlintpc::TimePixTrackEventDisplayProcessor::_yPixel
protected
  • number of pixels in y direction
float marlintpc::TimePixTrackEventDisplayProcessor::_zMax
protected
  • maximum value of z range
float marlintpc::TimePixTrackEventDisplayProcessor::_zMin
protected
  • minimum value of z range

The documentation for this class was generated from the following files: