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

Insert description here. more details. More...

#include <VertexProcessor.h>

Inheritance diagram for VertexProcessor:
Processor

Public Member Functions

 VertexProcessor (const std::string &name, Process &process)
 Class constructor.
 
 ~VertexProcessor ()
 
virtual void configure (const ParameterSet &parameters)
 Callback for the Processor to configure itself from the given set of parameters.
 
virtual void initialize (TTree *tree)
 Callback for the Processor to take any necessary action when the processing of events starts.
 
virtual bool process (IEvent *ievent)
 Process the event and put new data products into it.
 
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_ {"fspOnTrackHits"}
 
std::vector< RawSvtHit * > rawhits_ {}
 
std::string rawhitCollRoot_ {"fspOnTrackRawHits"}
 
std::vector< Vertex * > vtxs_ {}
 description
 
std::vector< Particle * > parts_ {}
 description
 
std::string vtxCollLcio_ {"UnconstrainedV0Vertices"}
 description
 
std::string vtxCollRoot_ {"UnconstrainedV0Vertices"}
 description
 
std::string partCollRoot_ {"ParticlesOnVertices"}
 description
 
std::string kinkRelCollLcio_ {"GBLKinkDataRelations"}
 description
 
std::string trkRelCollLcio_ {"TrackDataRelations"}
 description
 
std::string hitFitsCollLcio_ {"SVTFittedRawTrackerHits"}
 
std::string mcPartRelLcio_ {"RotatedHelicalTrackMCRelations"}
 
std::string trackStateLocation_ {""}
 select track state for tracks DEFAULT AtIP
 
double bfield_ {-1.}
 magnetic field
 
int useTrackerHits_ {1}
 Load hit collections, otherwise get from getSubdetectorHitNumbers.
 
int debug_ {0}
 Debug Level.
 

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 40 of file VertexProcessor.h.

Constructor & Destructor Documentation

◆ VertexProcessor()

VertexProcessor ( 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 9 of file VertexProcessor.cxx.

◆ ~VertexProcessor()

Destructor

Definition at line 13 of file VertexProcessor.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 16 of file VertexProcessor.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 243 of file VertexProcessor.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 41 of file VertexProcessor.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 52 of file VertexProcessor.cxx.

Member Data Documentation

◆ bfield_

double bfield_ {-1.}
private

magnetic field

Definition at line 101 of file VertexProcessor.h.

◆ debug_

int debug_ {0}
private

Debug Level.

Definition at line 105 of file VertexProcessor.h.

◆ hitFitsCollLcio_

std::string hitFitsCollLcio_ {"SVTFittedRawTrackerHits"}
private

Definition at line 97 of file VertexProcessor.h.

◆ hits_

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

Containers to hold all TrackerHit objects.

Definition at line 86 of file VertexProcessor.h.

◆ kinkRelCollLcio_

std::string kinkRelCollLcio_ {"GBLKinkDataRelations"}
private

description

Definition at line 95 of file VertexProcessor.h.

◆ mcPartRelLcio_

std::string mcPartRelLcio_ {"RotatedHelicalTrackMCRelations"}
private

Definition at line 98 of file VertexProcessor.h.

◆ partCollRoot_

std::string partCollRoot_ {"ParticlesOnVertices"}
private

description

Definition at line 94 of file VertexProcessor.h.

◆ parts_

std::vector<Particle*> parts_ {}
private

description

Definition at line 91 of file VertexProcessor.h.

◆ rawhitCollRoot_

std::string rawhitCollRoot_ {"fspOnTrackRawHits"}
private

Definition at line 89 of file VertexProcessor.h.

◆ rawhits_

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

Definition at line 88 of file VertexProcessor.h.

◆ trackStateLocation_

std::string trackStateLocation_ {""}
private

select track state for tracks DEFAULT AtIP

Definition at line 99 of file VertexProcessor.h.

◆ trkhitCollRoot_

std::string trkhitCollRoot_ {"fspOnTrackHits"}
private

Definition at line 87 of file VertexProcessor.h.

◆ trkRelCollLcio_

std::string trkRelCollLcio_ {"TrackDataRelations"}
private

description

Definition at line 96 of file VertexProcessor.h.

◆ useTrackerHits_

int useTrackerHits_ {1}
private

Load hit collections, otherwise get from getSubdetectorHitNumbers.

Definition at line 103 of file VertexProcessor.h.

◆ vtxCollLcio_

std::string vtxCollLcio_ {"UnconstrainedV0Vertices"}
private

description

Definition at line 92 of file VertexProcessor.h.

◆ vtxCollRoot_

std::string vtxCollRoot_ {"UnconstrainedV0Vertices"}
private

description

Definition at line 93 of file VertexProcessor.h.

◆ vtxs_

std::vector<Vertex*> vtxs_ {}
private

description

Definition at line 90 of file VertexProcessor.h.


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