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 Types | Private Attributes | List of all members
VtxHistoProcessor Class Reference

Insert description here. more details. More...

#include <VtxHistoProcessor.h>

Inheritance diagram for VtxHistoProcessor:
Processor

Public Member Functions

 VtxHistoProcessor (const std::string &name, Process &process)
 Constructor.
 
 ~VtxHistoProcessor ()
 
virtual void configure (const ParameterSet &parameters)
 description
 
virtual void initialize (std::string inFilename, std::string outFilename)
 description
 
virtual bool process ()
 description
 
virtual void initialize (TTree *tree)
 description
 
virtual bool process (IEvent *event)
 description
 
virtual void finalize ()
 description
 
- Public Member Functions inherited from Processor
 Processor (const std::string &name, Process &process)
 Class constructor.
 
virtual ~Processor ()
 
virtual void setFile (TFile *outFile)
 Set output TFile for AnaProcessors.
 

Private Types

typedef std::map< std::string, TH2F * >::iterator it2d_
 
typedef std::map< std::string, TH1F * >::iterator it1d_
 

Private Attributes

TFile * inF_ {nullptr}
 description
 
int debug_ {0}
 Debug Level.
 
int rebin_ {1}
 Rebin factor.
 
std::vector< std::string > selections_ {}
 Selection folder.
 
std::vector< std::string > projections_
 2D histos to project
 
std::map< std::string, TH2F * > _histos2d
 Map storing the 2D histograms.
 
std::map< std::string, TH1F * > _histos1d
 Map storing the 1D biases and resolutions.
 

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 23 of file VtxHistoProcessor.h.

Member Typedef Documentation

◆ it1d_

typedef std::map<std::string,TH1F*>::iterator it1d_
private

Definition at line 94 of file VtxHistoProcessor.h.

◆ it2d_

typedef std::map<std::string,TH2F*>::iterator it2d_
private

Definition at line 91 of file VtxHistoProcessor.h.

Constructor & Destructor Documentation

◆ VtxHistoProcessor()

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

Constructor.

Parameters
name
process

Definition at line 9 of file VtxHistoProcessor.cxx.

◆ ~VtxHistoProcessor()

Definition at line 13 of file VtxHistoProcessor.cxx.

Member Function Documentation

◆ configure()

void configure ( const ParameterSet parameters)
virtual

description

Parameters
parameters

Reimplemented from Processor.

Definition at line 16 of file VtxHistoProcessor.cxx.

◆ finalize()

void finalize ( )
virtual

description

Implements Processor.

Definition at line 87 of file VtxHistoProcessor.cxx.

◆ initialize() [1/2]

void initialize ( std::string  inFilename,
std::string  outFilename 
)
virtual

description

Parameters
inFilename
outFilename

Reimplemented from Processor.

Definition at line 32 of file VtxHistoProcessor.cxx.

◆ initialize() [2/2]

virtual void initialize ( TTree *  tree)
inlinevirtual

description

Parameters
tree

Implements Processor.

Definition at line 64 of file VtxHistoProcessor.h.

◆ process() [1/2]

bool process ( )
virtual

description

Returns
true
false

Reimplemented from Processor.

Definition at line 61 of file VtxHistoProcessor.cxx.

◆ process() [2/2]

virtual bool process ( IEvent event)
inlinevirtual

description

Parameters
event
Returns
true
false

Implements Processor.

Definition at line 73 of file VtxHistoProcessor.h.

Member Data Documentation

◆ _histos1d

std::map<std::string,TH1F* > _histos1d
private

Map storing the 1D biases and resolutions.

Definition at line 93 of file VtxHistoProcessor.h.

◆ _histos2d

std::map<std::string,TH2F*> _histos2d
private

Map storing the 2D histograms.

Definition at line 90 of file VtxHistoProcessor.h.

◆ debug_

int debug_ {0}
private

Debug Level.

Definition at line 85 of file VtxHistoProcessor.h.

◆ inF_

TFile* inF_ {nullptr}
private

description

Definition at line 83 of file VtxHistoProcessor.h.

◆ projections_

std::vector<std::string> projections_
private

2D histos to project

Definition at line 89 of file VtxHistoProcessor.h.

◆ rebin_

int rebin_ {1}
private

Rebin factor.

Definition at line 86 of file VtxHistoProcessor.h.

◆ selections_

std::vector<std::string> selections_ {}
private

Selection folder.

Definition at line 88 of file VtxHistoProcessor.h.


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