hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
TrackingProcessor Class Reference

Insert description here. more details. More...

#include <TrackingProcessor.h>

Inheritance diagram for TrackingProcessor:
Processor

Public Member Functions

 TrackingProcessor (const std::string &name, Process &process)
 Class constructor.
 
 ~TrackingProcessor ()
 
virtual bool process (IEvent *ievent)
 Process the event and put new data products into it.
 
virtual void configure (const ParameterSet &parameters)
 Configure the Processor.
 
virtual void initialize (TTree *tree)
 Callback for the Processor to take any necessary action when the processing of events starts.
 
virtual void finalize ()
 Callback for the Processor to take any necessary action when the processing of events finishes.
 
- Public Member Functions inherited from Processor
 Processor (const std::string &name, Process &process)
 Class constructor.
 
virtual ~Processor ()
 
virtual void initialize (std::string inFilename, std::string outFilename)
 Callback for the Processor to take any necessary action when the processing of events starts, such as initializing files.
 
virtual void setFile (TFile *outFile)
 Set output TFile for AnaProcessors.
 
virtual bool process ()
 Process the histograms and generate analysis output.
 

Private Attributes

std::vector< TrackerHit * > hits_ {}
 
std::string trkhitCollRoot_ {"RotatedHelicalOnTrackHits"}
 description
 
std::vector< Track * > tracks_ {}
 
std::string trkCollLcio_ {"GBLTracks"}
 collection name
 
std::string kinkRelCollLcio_ {"GBLKinkDataRelations"}
 collection name
 
std::string trkRelCollLcio_ {"TrackDataRelations"}
 collection name
 
std::string trkCollRoot_ {"GBLTracks"}
 collection name
 
std::vector< RawSvtHit * > rawhits_ {}
 
std::string hitFitsCollLcio_ {"SVTFittedRawTrackerHits"}
 collection name
 
std::string rawhitCollRoot_ {"SVTRawHitsOnTrack"}
 collection name
 
std::vector< Track * > truthTracks_ {}
 
std::string truthTracksCollRoot_ {""}
 description
 
std::string truthTracksCollLcio_ {""}
 description
 
std::string trackStateLocation_ {""}
 Specify track state used for track collection DEFAULT AtIP.
 
int debug_ {false}
 Debug Level.
 
int doResiduals_ {0}
 do Residuals
 
std::string trackResDataLcio_ {""}
 description
 
TrackHistostrkResHistos_ {nullptr}
 description
 
std::string resCfgFilename_ {""}
 description
 
std::string resoutname_ {""}
 description
 
double bfield_ {-1.}
 magnetic field
 
int useTrackerHits_ {1}
 Load hit collections, otherwise get from getSubdetectorHitNumbers.
 

Additional Inherited Members

- Static Public Member Functions inherited from Processor
static void declare (const std::string &classname, ProcessorMaker *)
 Internal function which is part of the ProcessorFactory machinery.
 
- Protected Attributes inherited from Processor
Processprocess_
 
TFile * outF_ {nullptr}
 
std::string name_
 

Detailed Description

Insert description here. more details.

Definition at line 48 of file TrackingProcessor.h.

Constructor & Destructor Documentation

◆ TrackingProcessor()

TrackingProcessor ( const std::string &  name,
Process process 
)

Class constructor.

Parameters
nameName for this instance of the class.
processThe Process class associated with Processor, provided by the processing framework.

Definition at line 5 of file TrackingProcessor.cxx.

◆ ~TrackingProcessor()

Destructor

Definition at line 9 of file TrackingProcessor.cxx.

Member Function Documentation

◆ configure()

void configure ( const ParameterSet parameters)
virtual

Configure the Processor.

Parameters
parametersThe configuration parameters

Reimplemented from Processor.

Definition at line 12 of file TrackingProcessor.cxx.

◆ finalize()

void finalize ( )
virtual

Callback for the Processor to take any necessary action when the processing of events finishes.

Implements Processor.

Definition at line 355 of file TrackingProcessor.cxx.

◆ initialize()

void initialize ( TTree *  tree)
virtual

Callback for the Processor to take any necessary action when the processing of events starts.

Parameters
tree

Implements Processor.

Definition at line 45 of file TrackingProcessor.cxx.

◆ process()

bool process ( IEvent ievent)
virtual

Process the event and put new data products into it.

Parameters
ieventThe Event to process.

Implements Processor.

Definition at line 69 of file TrackingProcessor.cxx.

Member Data Documentation

◆ bfield_

double bfield_ {-1.}
private

magnetic field

Definition at line 125 of file TrackingProcessor.h.

◆ debug_

int debug_ {false}
private

Debug Level.

Definition at line 117 of file TrackingProcessor.h.

◆ doResiduals_

int doResiduals_ {0}
private

do Residuals

Definition at line 119 of file TrackingProcessor.h.

◆ hitFitsCollLcio_

std::string hitFitsCollLcio_ {"SVTFittedRawTrackerHits"}
private

collection name

Definition at line 106 of file TrackingProcessor.h.

◆ hits_

std::vector<TrackerHit*> hits_ {}
private

Container to hold all TrackerHit objects, and collection names.

Definition at line 94 of file TrackingProcessor.h.

◆ kinkRelCollLcio_

std::string kinkRelCollLcio_ {"GBLKinkDataRelations"}
private

collection name

Definition at line 100 of file TrackingProcessor.h.

◆ rawhitCollRoot_

std::string rawhitCollRoot_ {"SVTRawHitsOnTrack"}
private

collection name

Definition at line 107 of file TrackingProcessor.h.

◆ rawhits_

std::vector<RawSvtHit*> rawhits_ {}
private

Container to hold all raw hits objecs.

Definition at line 105 of file TrackingProcessor.h.

◆ resCfgFilename_

std::string resCfgFilename_ {""}
private

description

Definition at line 122 of file TrackingProcessor.h.

◆ resoutname_

std::string resoutname_ {""}
private

description

Definition at line 123 of file TrackingProcessor.h.

◆ trackResDataLcio_

std::string trackResDataLcio_ {""}
private

description

Definition at line 120 of file TrackingProcessor.h.

◆ tracks_

std::vector<Track*> tracks_ {}
private

Container to hold all Track objects.

Definition at line 98 of file TrackingProcessor.h.

◆ trackStateLocation_

std::string trackStateLocation_ {""}
private

Specify track state used for track collection DEFAULT AtIP.

Definition at line 115 of file TrackingProcessor.h.

◆ trkCollLcio_

std::string trkCollLcio_ {"GBLTracks"}
private

collection name

Definition at line 99 of file TrackingProcessor.h.

◆ trkCollRoot_

std::string trkCollRoot_ {"GBLTracks"}
private

collection name

Definition at line 102 of file TrackingProcessor.h.

◆ trkhitCollRoot_

std::string trkhitCollRoot_ {"RotatedHelicalOnTrackHits"}
private

description

Definition at line 95 of file TrackingProcessor.h.

◆ trkRelCollLcio_

std::string trkRelCollLcio_ {"TrackDataRelations"}
private

collection name

Definition at line 101 of file TrackingProcessor.h.

◆ trkResHistos_

TrackHistos* trkResHistos_ {nullptr}
private

description

Definition at line 121 of file TrackingProcessor.h.

◆ truthTracks_

std::vector<Track*> truthTracks_ {}
private

Container to hold truth tracks

Definition at line 110 of file TrackingProcessor.h.

◆ truthTracksCollLcio_

std::string truthTracksCollLcio_ {""}
private

description

Definition at line 112 of file TrackingProcessor.h.

◆ truthTracksCollRoot_

std::string truthTracksCollRoot_ {""}
private

description

Definition at line 111 of file TrackingProcessor.h.

◆ useTrackerHits_

int useTrackerHits_ {1}
private

Load hit collections, otherwise get from getSubdetectorHitNumbers.

Definition at line 127 of file TrackingProcessor.h.


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