17#ifndef __TRUTH_VERTEX_MATCH_2021_H__
18#define __TRUTH_VERTEX_MATCH_2021_H__
33 virtual void setFile(TFile* out_file)
final;
41 std::shared_ptr<AnaHelpers>
_ah;
43 std::string
vtxColl_{
"UnconstrainedV0Vertices_KF"};
49 std::string
hitColl_{
"RotatedHelicalTrackHits"};
Processor(const std::string &name, Process &process)
Class constructor.
virtual bool process()
Process the histograms and generate analysis output.
~TruthVertexMatch2021()=default
long n_matched_z_and_trk_
TruthVertexMatch2021(const std::string &name, Process &process)
long n_matched_trk_ele_clus_
virtual void setFile(TFile *out_file) final
Set output TFile for AnaProcessors.
long n_matched_trk_clus_pos_only_
long n_matched_trk_clus_both_
std::shared_ptr< AnaHelpers > _ah
virtual bool process(IEvent *ievent) final
Process the event and put new data products into it.
virtual void initialize(TTree *tree) final
Callback for the Processor to take any necessary action when the processing of events starts,...
virtual void finalize() final
Callback for the Processor to take any necessary action when the processing of events finishes,...
long n_matched_trk_clus_ele_only_
virtual void configure(const ParameterSet ¶meters) final
Callback for the Processor to configure itself from the given set of parameters.
long n_matched_trk_pos_clus_
std::unique_ptr< TTree > output_tree_