|
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.
|
#include <PreselectAndCategorize.h>
Public Member Functions | |
| PreselectAndCategorize (const std::string &name, Process &process) | |
| ~PreselectAndCategorize ()=default | |
| virtual void | configure (const ParameterSet ¶meters) |
| 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, such as creating histograms. | |
| virtual void | setFile (TFile *out_file) |
| Set output TFile for AnaProcessors. | |
| 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, such as calculating job-summary quantities. | |
| virtual void | setVtxColl (std::string vtx_coll) |
| virtual void | setMCColl (std::string mc_coll) |
| json | preselect_json_load (const std::string &filepath) |
| bool | getIsSignal () const |
| bool | getIsData () const |
| 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 bool | process () |
| Process the histograms and generate analysis output. | |
Protected Attributes | |
| EventBus | bus_ |
| std::unique_ptr< TTree > | output_tree_ |
| std::string | vtxColl_ {"UnconstrainedV0Vertices_KF"} |
| std::string | mcColl_ {"MCParticle"} |
| description | |
| bool | isData_ {false} |
| bool | isSignal_ {false} |
| double | calTimeOffset_ {0.0} |
| Cutflow | vertex_cf_ {"vertex", "reconstructed"} |
| Cutflow | event_cf_ {"event", "readout"} |
| std::unique_ptr< TH2F > | n_vertices_h_ |
| std::shared_ptr< TrackSmearingTool > | smearingTool_ |
| std::shared_ptr< AnaHelpers > | _ah |
| description | |
| std::map< int, std::vector< double > > | beamspot_corrections_ |
| json | v0proj_fits_ |
| std::map< std::string, double > | track_corrections_ |
| Protected Attributes inherited from Processor | |
| Process & | process_ |
| TFile * | outF_ {nullptr} |
| std::string | name_ |
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. | |
Definition at line 253 of file PreselectAndCategorize.h.
|
inline |
Definition at line 255 of file PreselectAndCategorize.h.
|
default |
|
virtual |
Callback for the Processor to configure itself from the given set of parameters.
| parameters | ParameterSet for configuration. |
Reimplemented from Processor.
Reimplemented in PreselectAndCategorize2021, and PreselectAndCategorizeSimp2016.
Definition at line 12 of file PreselectAndCategorize.cxx.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events finishes, such as calculating job-summary quantities.
Implements Processor.
Reimplemented in PreselectAndCategorize2021, and PreselectAndCategorizeSimp2016.
Definition at line 178 of file PreselectAndCategorize.cxx.
|
inline |
Definition at line 283 of file PreselectAndCategorize.h.
|
inline |
Definition at line 279 of file PreselectAndCategorize.h.
|
virtual |
Callback for the Processor to take any necessary action when the processing of events starts, such as creating histograms.
| tree |
Implements Processor.
Reimplemented in PreselectAndCategorize2021, and PreselectAndCategorizeSimp2016.
Definition at line 23 of file PreselectAndCategorize.cxx.
|
inline |
Definition at line 271 of file PreselectAndCategorize.h.
|
virtual |
Process the event and put new data products into it.
| event | The Event to process. |
Implements Processor.
Reimplemented in PreselectAndCategorize2021, and PreselectAndCategorizeSimp2016.
Definition at line 76 of file PreselectAndCategorize.cxx.
|
virtual |
Set output TFile for AnaProcessors.
| pointer | to output TFile |
Reimplemented from Processor.
Reimplemented in PreselectAndCategorize2021, and PreselectAndCategorizeSimp2016.
Definition at line 51 of file PreselectAndCategorize.cxx.
|
inlinevirtual |
Definition at line 267 of file PreselectAndCategorize.h.
|
inlinevirtual |
Definition at line 264 of file PreselectAndCategorize.h.
|
protected |
description
Definition at line 301 of file PreselectAndCategorize.h.
|
protected |
Map of beamspot by run, currently not used but available I guess??
Definition at line 306 of file PreselectAndCategorize.h.
|
protected |
Definition at line 288 of file PreselectAndCategorize.h.
|
protected |
Definition at line 295 of file PreselectAndCategorize.h.
|
protected |
Definition at line 298 of file PreselectAndCategorize.h.
|
protected |
Definition at line 293 of file PreselectAndCategorize.h.
|
protected |
Definition at line 294 of file PreselectAndCategorize.h.
|
protected |
description
Definition at line 292 of file PreselectAndCategorize.h.
|
protected |
Definition at line 299 of file PreselectAndCategorize.h.
|
protected |
Definition at line 289 of file PreselectAndCategorize.h.
|
protected |
Definition at line 300 of file PreselectAndCategorize.h.
|
protected |
Map of correction name to correction value for analysis-level corrections on tracks.
Definition at line 315 of file PreselectAndCategorize.h.
|
protected |
Definition at line 309 of file PreselectAndCategorize.h.
|
protected |
Definition at line 297 of file PreselectAndCategorize.h.
|
protected |
Definition at line 291 of file PreselectAndCategorize.h.