|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "GaudiKernel/StatusCode.h"
22 const std::string&
name,
25 m_decisionId(
HLT::Identifier::fromToolName(
name ) )
52 return StatusCode::FAILURE;
57 ATH_MSG_ERROR(
"Incorrect combination of Method and Level." );
58 return StatusCode::FAILURE;
63 return StatusCode::FAILURE;
66 return StatusCode::SUCCESS;
91 auto monitorIt =
Monitored::Group(
m_monTool, PassedCuts, ptAccepted, nTrackAccepted, nWideTrackAccepted, ninputTaus, RNNJetScore_0p, RNNJetScoreSigTrans_0p, RNNJetScore_1p, RNNJetScoreSigTrans_1p, RNNJetScore_mp, RNNJetScoreSigTrans_mp );
98 ATH_MSG_DEBUG(
"AcceptAll property is set: taking all events" );
101 ATH_MSG_DEBUG(
"AcceptAll property not set: applying selection" );
105 auto roiDescriptor =
input.roi;
106 float roIZ = roiDescriptor->zed();
107 float roIEta = roiDescriptor->eta();
108 float roIPhi = roiDescriptor->phi();
110 ATH_MSG_DEBUG(
"Input RoI eta: " << roIEta <<
" Input RoI phi: " << roIPhi <<
" Input RoI z: " << roIZ);
112 auto TauContainer =
input.taujetcontainer;
113 ninputTaus = TauContainer->size();
115 for(
auto Tau: *TauContainer){
119 double EFet =
Tau->pt()*1
e-3;
128 int numTrack = 0, numWideTrack = 0;
139 numTrack =
Tau->nTracks();
140 numWideTrack =
Tau->nTracksIsolation();
147 bool applyTrkSel(
true);
148 bool applyMaxTrkSel(
true);
161 nTrackAccepted = numTrack;
162 nWideTrackAccepted = numWideTrack;
177 if(
Tau->nTracks() == 0){
180 }
else if (
Tau->nTracks() == 1 ) {
191 ATH_MSG_WARNING(
"RNNJetScoreSigTrans not available. Make sure TauWPDecorator is run for RNN!" );
195 if(local_level == -1111)
211 if(
Tau->nTracks() == 0){
214 }
else if (
Tau->nTracks() == 1 ) {
254 return StatusCode::SUCCESS;
@ RNNJetScoreSigTrans
RNN score which is signal transformed/flattened.
Group
Properties of a chain group.
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
TrigCompositeUtils::DecisionID numeric() const
numeric ID
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
It used to be useful piece of code for replacing actual SG with other store of similar functionality ...
Generic monitoring tool for athena components.
::StatusCode StatusCode
StatusCode definition for legacy code.
Header file to be included by clients of the Monitored infrastructure.
@ RNNJetScore
RNN score for Jet rejection (not transformed)
#define ATH_MSG_WARNING(x)
Declare a monitored scalar variable.