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
Tracker2DHitProcessor Class Reference

#include <Tracker2DHitProcessor.h>

Inheritance diagram for Tracker2DHitProcessor:
Processor

Public Member Functions

 Tracker2DHitProcessor (const std::string &name, Process &process)
 
 ~Tracker2DHitProcessor ()
 
virtual void configure (const ParameterSet &parameters)
 
virtual void initialize (TTree *tree)
 
virtual bool process (IEvent *ievent)
 
virtual void finalize ()
 
- 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 hitCollLcio_ {"RotatedHelicalTrackHits"}
 
std::string hitCollRoot_ {"RotatedHelicalTrackHits"}
 
std::string hitFitCollLcio_ {"SvtFittedRawTrackerHits"}
 
std::string mcPartRelLcio_ {"RotatedHelicalTrackMCRelations"}
 
int debug_ {0}
 

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

Definition at line 38 of file Tracker2DHitProcessor.h.

Constructor & Destructor Documentation

◆ Tracker2DHitProcessor()

Tracker2DHitProcessor ( 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 4 of file Tracker2DHitProcessor.cxx.

◆ ~Tracker2DHitProcessor()

Destructor

Definition at line 8 of file Tracker2DHitProcessor.cxx.

Member Function Documentation

◆ configure()

void configure ( const ParameterSet parameters)
virtual

Callback for the Processor to configure itself from the given set of parameters.

Parameters
parametersParameterSet for configuration.

Reimplemented from Processor.

Definition at line 11 of file Tracker2DHitProcessor.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 157 of file Tracker2DHitProcessor.cxx.

◆ initialize()

void initialize ( TTree *  tree)
virtual

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

Implements Processor.

Definition at line 28 of file Tracker2DHitProcessor.cxx.

◆ process()

bool process ( IEvent ievent)
virtual

Process the event and put new data products into it.

Parameters
eventThe Event to process.

Implements Processor.

Definition at line 33 of file Tracker2DHitProcessor.cxx.

Member Data Documentation

◆ debug_

int debug_ {0}
private

Definition at line 89 of file Tracker2DHitProcessor.h.

◆ hitCollLcio_

std::string hitCollLcio_ {"RotatedHelicalTrackHits"}
private

Definition at line 82 of file Tracker2DHitProcessor.h.

◆ hitCollRoot_

std::string hitCollRoot_ {"RotatedHelicalTrackHits"}
private

Definition at line 83 of file Tracker2DHitProcessor.h.

◆ hitFitCollLcio_

std::string hitFitCollLcio_ {"SvtFittedRawTrackerHits"}
private

Definition at line 84 of file Tracker2DHitProcessor.h.

◆ hits_

std::vector<TrackerHit*> hits_
private

Container to hold all TrackerHit objects.

Definition at line 81 of file Tracker2DHitProcessor.h.

◆ mcPartRelLcio_

std::string mcPartRelLcio_ {"RotatedHelicalTrackMCRelations"}
private

Definition at line 86 of file Tracker2DHitProcessor.h.


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