16#ifndef __CLUSTER_EFFICIENCY_2021_H__
17#define __CLUSTER_EFFICIENCY_2021_H__
32 virtual void setFile(TFile* out_file)
final;
40 std::shared_ptr<AnaHelpers>
_ah;
42 std::string
vtxColl_{
"UnconstrainedV0Vertices_KF"};
~ClusterEfficiency2021()=default
long n_event_has_cluster_
long n_first_pos_matched_
long n_first_ele_matched_
virtual void setFile(TFile *out_file) final
Set output TFile for AnaProcessors.
ClusterEfficiency2021(const std::string &name, Process &process)
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,...
double eventClusterThresh_
virtual void finalize() final
Callback for the Processor to take any necessary action when the processing of events finishes,...
double clusterEnergyThresh_
virtual void configure(const ParameterSet ¶meters) final
Callback for the Processor to configure itself from the given set of parameters.
std::unique_ptr< TTree > output_tree_
Processor(const std::string &name, Process &process)
Class constructor.
virtual bool process()
Process the histograms and generate analysis output.