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

Insert description here. more details. More...

#include <SvtDataProcessor.h>

Inheritance diagram for SvtDataProcessor:
Processor

Public Member Functions

 SvtDataProcessor (const std::string &name, Process &process)
 Class constructor.
 
 ~SvtDataProcessor ()
 
virtual bool process (IEvent *ievent)
 Process the event and put new data products into it.
 
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 configure (const ParameterSet &parameters)
 Callback for the Processor to configure itself from the given set of parameters.
 
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::vector< Track * > tracks_
 

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 38 of file SvtDataProcessor.h.

Constructor & Destructor Documentation

◆ SvtDataProcessor()

SvtDataProcessor ( 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 SvtDataProcessor.cxx.

◆ ~SvtDataProcessor()

Destructor

Definition at line 8 of file SvtDataProcessor.cxx.

Member Function Documentation

◆ finalize()

void finalize ( )
virtual

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

Implements Processor.

Definition at line 206 of file SvtDataProcessor.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 11 of file SvtDataProcessor.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 17 of file SvtDataProcessor.cxx.

Member Data Documentation

◆ hits_

std::vector<TrackerHit*> hits_
private

Container to hold all TrackerHit objects.

Definition at line 78 of file SvtDataProcessor.h.

◆ tracks_

std::vector<Track*> tracks_
private

Container to hold all Track objects.

Definition at line 81 of file SvtDataProcessor.h.


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