#include <TrigEgammaForwardPrecisionCaloHypoTool.h>
|
HLT::Identifier | m_decisionId |
|
Gaudi::Property< std::vector< float > > | m_etabin { this, "EtaBins", {} , "Bins of eta" } |
| selection variable for PRECISION calo selection:eta bins More...
|
|
Gaudi::Property< std::vector< float > > | m_eTthr { this, "ETthr", {}, "ET Threshold" } |
|
Gaudi::Property< std::vector< float > > | m_eT2thr { this, "ET2thr", {}, "Second layer ET threshold" } |
|
Gaudi::Property< float > | m_detacluster { this, "dETACLUSTERthr", 0. , "" } |
|
Gaudi::Property< float > | m_dphicluster { this, "dPHICLUSTERthr", 0. , "" } |
|
ToolHandle< GenericMonitoringTool > | m_monTool { this, "MonTool", "", "Monitoring tool" } |
|
◆ TrigEgammaForwardPrecisionCaloHypoTool()
TrigEgammaForwardPrecisionCaloHypoTool::TrigEgammaForwardPrecisionCaloHypoTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ decide() [1/2]
Definition at line 55 of file TrigEgammaForwardPrecisionCaloHypoTool.cxx.
67 etaBin, monEta,monPhi,PassedCuts );
69 PassedCuts = PassedCuts + 1;
71 auto roiDescriptor =
input.roi;
74 if ( std::abs( roiDescriptor->eta() ) > 2.6 ) {
75 ATH_MSG_DEBUG(
"REJECT The cluster had eta coordinates beyond the EM fiducial volume : " << roiDescriptor->eta() <<
"; stop the chain now" );
81 <<
": Eta = " << roiDescriptor->eta()
82 <<
", Phi = " << roiDescriptor->phi() );
85 double etaRef = roiDescriptor->eta();
86 double phiRef = roiDescriptor->phi();
88 if ( std::abs( phiRef ) >
M_PI ) phiRef -= 2*
M_PI;
91 auto pClus =
input.cluster;
93 float absEta = std::abs( pClus->eta() );
98 dEta = pClus->eta() - etaRef;
100 dPhi = std::abs( pClus->phi() - phiRef );
102 eT_Cluster = pClus->et();
105 <<
" roi eta=" << etaRef <<
" DeltaEta=" <<
dEta
112 PassedCuts = PassedCuts + 1;
116 <<
" roi phi="<< phiRef <<
" DeltaPhi="<<
dPhi
123 PassedCuts = PassedCuts + 1;
126 if ( cutIndex == -1 ) {
132 PassedCuts = PassedCuts + 1;
136 if ( eT_Cluster <
m_eTthr[cutIndex] ) {
140 PassedCuts = PassedCuts + 1;
◆ decide() [2/2]
◆ findCutIndex()
int TrigEgammaForwardPrecisionCaloHypoTool::findCutIndex |
( |
float |
eta | ) |
const |
|
private |
◆ initialize()
StatusCode TrigEgammaForwardPrecisionCaloHypoTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 22 of file TrigEgammaForwardPrecisionCaloHypoTool.cxx.
31 ATH_MSG_ERROR(
" There are no cuts set (EtaBins property is an empty list)" );
32 return StatusCode::FAILURE;
35 unsigned int nEtaBin =
m_etabin.size();
37 #define CHECK_SIZE( __n) if ( m_##__n.size() != (nEtaBin - 1) ) \
38 { ATH_MSG_DEBUG(" __n size is " << m_##__n.size() << " but needs to be " << (nEtaBin - 1) ); return StatusCode::FAILURE; }
51 return StatusCode::SUCCESS;
◆ m_decisionId
◆ m_detacluster
Gaudi::Property< float > TrigEgammaForwardPrecisionCaloHypoTool::m_detacluster { this, "dETACLUSTERthr", 0. , "" } |
|
private |
◆ m_dphicluster
Gaudi::Property< float > TrigEgammaForwardPrecisionCaloHypoTool::m_dphicluster { this, "dPHICLUSTERthr", 0. , "" } |
|
private |
◆ m_eT2thr
Gaudi::Property< std::vector<float> > TrigEgammaForwardPrecisionCaloHypoTool::m_eT2thr { this, "ET2thr", {}, "Second layer ET threshold" } |
|
private |
◆ m_etabin
Gaudi::Property< std::vector<float> > TrigEgammaForwardPrecisionCaloHypoTool::m_etabin { this, "EtaBins", {} , "Bins of eta" } |
|
private |
◆ m_eTthr
Gaudi::Property< std::vector<float> > TrigEgammaForwardPrecisionCaloHypoTool::m_eTthr { this, "ETthr", {}, "ET Threshold" } |
|
private |
◆ m_monTool
The documentation for this class was generated from the following files: