All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
CLICPfoSelector Class Reference

=== CLICPfoSelector Processor ===
Processor to select good pfos based on timing More...

#include <CLICPfoSelector.h>

Inheritance diagram for CLICPfoSelector:
[legend]

Public Member Functions

virtual ProcessornewProcessor ()
 
 CLICPfoSelector ()
 
virtual void init ()
 
virtual void processRunHeader (LCRunHeader *run)
 
virtual void processEvent (LCEvent *evt)
 
virtual void check (LCEvent *evt)
 
virtual void end ()
 

Protected Member Functions

void CleanUp ()
 

Protected Attributes

int _nRun = -1
 
int _nEvt = -1
 
float _bField = 0.0
 
std::string m_inputPfoCollection {}
 Input PFO collection name. More...
 
std::string m_selectedPfoCollection {}
 Output PFO collection name. More...
 
int m_monitoring = 0
 Whether to display monitoring information. More...
 
int m_displaySelectedPfos = 0
 Whether to display monitoring information concerning selected pfos. More...
 
int m_displayRejectedPfos = 0
 Whether to display monitoring information concerning rejected pfos. More...
 
float m_monitoringPfoEnergyToDisplay = 1.0
 Minimum pfo energy in order to display monitoring information. More...
 
int m_correctHitTimesForTimeOfFlight = 0
 Correct hit times for straight line time of flight. More...
 
int m_checkProtonCorrection = 0
 Check proton hypothesis. More...
 
int m_checkKaonCorrection = 0
 Check charged hypothesis. More...
 
int m_keepKShorts = 1
 Keep kshorts. More...
 
int m_useNeutronTiming = 0
 Attempt to make a (dubious) neutron timing correction. More...
 
float m_minimumEnergyForNeutronTiming = 1.0
 Minimum energy for attempted neutron timing correction. More...
 
float m_farForwardCosTheta = 0.975
 Value of cos theta identifying the detector forward region. More...
 
float m_ptCutForTightTiming = 0.75
 The pt value below which tight timing cuts are used. More...
 
float m_photonPtCut = 0.0
 The basic pt cut for a photon pfo. More...
 
float m_photonPtCutForLooseTiming = 4.0
 The photon pt value below which tight timing cuts are used. More...
 
float m_photonLooseTimingCut = 2.0
 The photon loose high timing cut. More...
 
float m_photonTightTimingCut = 1.0
 The photon tight high timing cut. More...
 
float m_chargedPfoPtCut = 0.0
 The basic pt cut for a charged hadron pfo. More...
 
float m_chargedPfoPtCutForLooseTiming = 4.0
 The charged hadron pt value below which tight timing cuts are used. More...
 
float m_chargedPfoLooseTimingCut = 3.0
 The charged hadron loose high timing cut. More...
 
float m_chargedPfoTightTimingCut = 1.5
 The charged hadron tight high timing cut. More...
 
float m_chargedPfoNegativeLooseTimingCut = -1.0
 The charged hadron loose low timing cut. More...
 
float m_chargedPfoNegativeTightTimingCut = -0.5
 The charged hadron tight low timing cut. More...
 
float m_neutralHadronPtCut = 0.0
 The basic pt cut for a neutral hadron pfo. More...
 
float m_neutralHadronPtCutForLooseTiming = 8.0
 The neutral hadron pt value below which tight timing cuts are used. More...
 
float m_neutralHadronLooseTimingCut = 2.5
 The neutral hadron loose high timing cut. More...
 
float m_neutralHadronTightTimingCut = 1.5
 The neutral hadron tight high timing cut. More...
 
float m_neutralFarForwardLooseTimingCut = 2.0
 The neutral hadron loose high timing cut for the forward region. More...
 
float m_neutralFarForwardTightTimingCut = 1.0
 The neutral hadron tight high timing cut for the forward region. More...
 
float m_photonFarForwardLooseTimingCut = 2.0
 The photon loose high timing cut for the forward region. More...
 
float m_photonFarForwardTightTimingCut = 1.0
 The photon tight high timing cut for the forward region. More...
 
float m_hCalBarrelLooseTimingCut = 20.0
 The loose timing cut for hits predominantly in hcal barrel. More...
 
float m_hCalBarrelTightTimingCut = 10.0
 The tight timing cut for hits predominantly in hcal barrel. More...
 
float m_hCalEndCapTimingFactor = 1.0
 Factor by which high timing cut is multiplied for hcal barrel hits. More...
 
float m_neutralHadronBarrelPtCutForLooseTiming
 pt above which loose timing cuts are applied to neutral hadrons in barrel More...
 
int m_minECalHitsForTiming = 5
 Minimum ecal hits in order to use ecal timing info. More...
 
int m_minHCalEndCapHitsForTiming = 5
 Minimum hcal endcap hits in order to use hcal endcap timing info. More...
 
int m_useClusterLessPfos = 1
 Whether to accept any cluster-less pfos. More...
 
float m_minMomentumForClusterLessPfos = 0.5
 Minimum momentum for a cluster-less pfo. More...
 
float m_maxMomentumForClusterLessPfos = 2.0
 Minimum momentum for a cluster-less pfo. More...
 
float m_minPtForClusterLessPfos = 0.5
 Minimum pT for a cluster-less pfo. More...
 
float m_clusterLessPfoTrackTimeCut = 10.0
 Maximum arrival time at Ecal for cluster-less pfo. More...
 
float m_forwardCosThetaForHighEnergyNeutralHadrons
 Forward region of HCAL where timing cuts will be applied to all neutral hadrons. More...
 
float m_forwardHighEnergyNeutralHadronsEnergy
 Energy cut for specific HCAL timing requirements cuts for neutral hadrons. More...
 

Detailed Description

=== CLICPfoSelector Processor ===
Processor to select good pfos based on timing

Definition at line 22 of file CLICPfoSelector.h.

Constructor & Destructor Documentation

CLICPfoSelector::CLICPfoSelector ( )

Definition at line 26 of file CLICPfoSelector.cc.

Member Function Documentation

void CLICPfoSelector::check ( LCEvent *  evt)
virtual

Definition at line 446 of file CLICPfoSelector.cc.

void CLICPfoSelector::CleanUp ( )
protected

Definition at line 444 of file CLICPfoSelector.cc.

void CLICPfoSelector::end ( )
virtual

Definition at line 448 of file CLICPfoSelector.cc.

void CLICPfoSelector::init ( )
virtual

Definition at line 148 of file CLICPfoSelector.cc.

virtual Processor* CLICPfoSelector::newProcessor ( )
inlinevirtual

Definition at line 24 of file CLICPfoSelector.h.

void CLICPfoSelector::processEvent ( LCEvent *  evt)
virtual

Definition at line 163 of file CLICPfoSelector.cc.

void CLICPfoSelector::processRunHeader ( LCRunHeader *  run)
virtual

Definition at line 156 of file CLICPfoSelector.cc.

Member Data Documentation

float CLICPfoSelector::_bField = 0.0
protected

Definition at line 38 of file CLICPfoSelector.h.

int CLICPfoSelector::_nEvt = -1
protected

Definition at line 36 of file CLICPfoSelector.h.

int CLICPfoSelector::_nRun = -1
protected

Definition at line 35 of file CLICPfoSelector.h.

float CLICPfoSelector::m_chargedPfoLooseTimingCut = 3.0
protected

The charged hadron loose high timing cut.

Definition at line 63 of file CLICPfoSelector.h.

float CLICPfoSelector::m_chargedPfoNegativeLooseTimingCut = -1.0
protected

The charged hadron loose low timing cut.

Definition at line 65 of file CLICPfoSelector.h.

float CLICPfoSelector::m_chargedPfoNegativeTightTimingCut = -0.5
protected

The charged hadron tight low timing cut.

Definition at line 66 of file CLICPfoSelector.h.

float CLICPfoSelector::m_chargedPfoPtCut = 0.0
protected

The basic pt cut for a charged hadron pfo.

Definition at line 61 of file CLICPfoSelector.h.

float CLICPfoSelector::m_chargedPfoPtCutForLooseTiming = 4.0
protected

The charged hadron pt value below which tight timing cuts are used.

Definition at line 62 of file CLICPfoSelector.h.

float CLICPfoSelector::m_chargedPfoTightTimingCut = 1.5
protected

The charged hadron tight high timing cut.

Definition at line 64 of file CLICPfoSelector.h.

int CLICPfoSelector::m_checkKaonCorrection = 0
protected

Check charged hypothesis.

Definition at line 48 of file CLICPfoSelector.h.

int CLICPfoSelector::m_checkProtonCorrection = 0
protected

Check proton hypothesis.

Definition at line 47 of file CLICPfoSelector.h.

float CLICPfoSelector::m_clusterLessPfoTrackTimeCut = 10.0
protected

Maximum arrival time at Ecal for cluster-less pfo.

Definition at line 90 of file CLICPfoSelector.h.

int CLICPfoSelector::m_correctHitTimesForTimeOfFlight = 0
protected

Correct hit times for straight line time of flight.

Definition at line 46 of file CLICPfoSelector.h.

int CLICPfoSelector::m_displayRejectedPfos = 0
protected

Whether to display monitoring information concerning rejected pfos.

Definition at line 44 of file CLICPfoSelector.h.

int CLICPfoSelector::m_displaySelectedPfos = 0
protected

Whether to display monitoring information concerning selected pfos.

Definition at line 43 of file CLICPfoSelector.h.

float CLICPfoSelector::m_farForwardCosTheta = 0.975
protected

Value of cos theta identifying the detector forward region.

Definition at line 53 of file CLICPfoSelector.h.

float CLICPfoSelector::m_forwardCosThetaForHighEnergyNeutralHadrons
protected
Initial value:
=
0.95

Forward region of HCAL where timing cuts will be applied to all neutral hadrons.

Definition at line 91 of file CLICPfoSelector.h.

float CLICPfoSelector::m_forwardHighEnergyNeutralHadronsEnergy
protected
Initial value:
=
10.0

Energy cut for specific HCAL timing requirements cuts for neutral hadrons.

Definition at line 93 of file CLICPfoSelector.h.

float CLICPfoSelector::m_hCalBarrelLooseTimingCut = 20.0
protected

The loose timing cut for hits predominantly in hcal barrel.

Definition at line 77 of file CLICPfoSelector.h.

float CLICPfoSelector::m_hCalBarrelTightTimingCut = 10.0
protected

The tight timing cut for hits predominantly in hcal barrel.

Definition at line 78 of file CLICPfoSelector.h.

float CLICPfoSelector::m_hCalEndCapTimingFactor = 1.0
protected

Factor by which high timing cut is multiplied for hcal barrel hits.

Definition at line 79 of file CLICPfoSelector.h.

std::string CLICPfoSelector::m_inputPfoCollection {}
protected

Input PFO collection name.

Definition at line 40 of file CLICPfoSelector.h.

int CLICPfoSelector::m_keepKShorts = 1
protected

Keep kshorts.

Definition at line 49 of file CLICPfoSelector.h.

float CLICPfoSelector::m_maxMomentumForClusterLessPfos = 2.0
protected

Minimum momentum for a cluster-less pfo.

Definition at line 88 of file CLICPfoSelector.h.

int CLICPfoSelector::m_minECalHitsForTiming = 5
protected

Minimum ecal hits in order to use ecal timing info.

Definition at line 83 of file CLICPfoSelector.h.

int CLICPfoSelector::m_minHCalEndCapHitsForTiming = 5
protected

Minimum hcal endcap hits in order to use hcal endcap timing info.

Definition at line 84 of file CLICPfoSelector.h.

float CLICPfoSelector::m_minimumEnergyForNeutronTiming = 1.0
protected

Minimum energy for attempted neutron timing correction.

Definition at line 51 of file CLICPfoSelector.h.

float CLICPfoSelector::m_minMomentumForClusterLessPfos = 0.5
protected

Minimum momentum for a cluster-less pfo.

Definition at line 87 of file CLICPfoSelector.h.

float CLICPfoSelector::m_minPtForClusterLessPfos = 0.5
protected

Minimum pT for a cluster-less pfo.

Definition at line 89 of file CLICPfoSelector.h.

int CLICPfoSelector::m_monitoring = 0
protected

Whether to display monitoring information.

Definition at line 42 of file CLICPfoSelector.h.

float CLICPfoSelector::m_monitoringPfoEnergyToDisplay = 1.0
protected

Minimum pfo energy in order to display monitoring information.

Definition at line 45 of file CLICPfoSelector.h.

float CLICPfoSelector::m_neutralFarForwardLooseTimingCut = 2.0
protected

The neutral hadron loose high timing cut for the forward region.

Definition at line 72 of file CLICPfoSelector.h.

float CLICPfoSelector::m_neutralFarForwardTightTimingCut = 1.0
protected

The neutral hadron tight high timing cut for the forward region.

Definition at line 73 of file CLICPfoSelector.h.

float CLICPfoSelector::m_neutralHadronBarrelPtCutForLooseTiming
protected
Initial value:
=
3.5

pt above which loose timing cuts are applied to neutral hadrons in barrel

Definition at line 80 of file CLICPfoSelector.h.

float CLICPfoSelector::m_neutralHadronLooseTimingCut = 2.5
protected

The neutral hadron loose high timing cut.

Definition at line 70 of file CLICPfoSelector.h.

float CLICPfoSelector::m_neutralHadronPtCut = 0.0
protected

The basic pt cut for a neutral hadron pfo.

Definition at line 68 of file CLICPfoSelector.h.

float CLICPfoSelector::m_neutralHadronPtCutForLooseTiming = 8.0
protected

The neutral hadron pt value below which tight timing cuts are used.

Definition at line 69 of file CLICPfoSelector.h.

float CLICPfoSelector::m_neutralHadronTightTimingCut = 1.5
protected

The neutral hadron tight high timing cut.

Definition at line 71 of file CLICPfoSelector.h.

float CLICPfoSelector::m_photonFarForwardLooseTimingCut = 2.0
protected

The photon loose high timing cut for the forward region.

Definition at line 74 of file CLICPfoSelector.h.

float CLICPfoSelector::m_photonFarForwardTightTimingCut = 1.0
protected

The photon tight high timing cut for the forward region.

Definition at line 75 of file CLICPfoSelector.h.

float CLICPfoSelector::m_photonLooseTimingCut = 2.0
protected

The photon loose high timing cut.

Definition at line 58 of file CLICPfoSelector.h.

float CLICPfoSelector::m_photonPtCut = 0.0
protected

The basic pt cut for a photon pfo.

Definition at line 56 of file CLICPfoSelector.h.

float CLICPfoSelector::m_photonPtCutForLooseTiming = 4.0
protected

The photon pt value below which tight timing cuts are used.

Definition at line 57 of file CLICPfoSelector.h.

float CLICPfoSelector::m_photonTightTimingCut = 1.0
protected

The photon tight high timing cut.

Definition at line 59 of file CLICPfoSelector.h.

float CLICPfoSelector::m_ptCutForTightTiming = 0.75
protected

The pt value below which tight timing cuts are used.

Definition at line 54 of file CLICPfoSelector.h.

std::string CLICPfoSelector::m_selectedPfoCollection {}
protected

Output PFO collection name.

Definition at line 41 of file CLICPfoSelector.h.

int CLICPfoSelector::m_useClusterLessPfos = 1
protected

Whether to accept any cluster-less pfos.

Definition at line 86 of file CLICPfoSelector.h.

int CLICPfoSelector::m_useNeutronTiming = 0
protected

Attempt to make a (dubious) neutron timing correction.

Definition at line 50 of file CLICPfoSelector.h.


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