7#ifndef __PRESELECT_AND_CATEGORIZE_2021_H__
8#define __PRESELECT_AND_CATEGORIZE_2021_H__
15#include "Math/Vector4D.h"
31 virtual void setFile(TFile* out_file)
final;
Class used to decode TS words.
std::vector< double > time_cuts_
bool disableVertexChi2Cut_
double calculate_theta_R(const TVector3 &ele_mom, const TVector3 &pos_mom) const
std::unique_ptr< TH1F > multivtx_discarded_chi2_h_
bool requireSingleVertex_
~PreselectAndCategorize2021()=default
std::string triggerSelection_
std::shared_ptr< TrackCorrector > corrector_
virtual void setFile(TFile *out_file) final
Set output TFile for AnaProcessors.
bool disablePreselection_
void calculatePairwiseQuantities(const std::vector< Track * > &all_tracks, Particle &ele, Particle &pos)
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,...
bool isQualityTrack(Track *trk, const Particle &pos) const
virtual void configure(const ParameterSet ¶meters) final
Callback for the Processor to configure itself from the given set of parameters.
Track createInferredTrack(Vertex *vtx, Track *ele_track, Track *pos_track)
PreselectAndCategorize2021(const std::string &name, Process &process)
std::string trackCorrectionsCfg_
std::unique_ptr< TH1F > multivtx_chosen_chi2_h_
std::vector< double > determine_time_cuts(bool isData, int runNumber)
PreselectAndCategorize(const std::string &name, Process &process)
virtual bool process()
Process the histograms and generate analysis output.