ATLAS Offline Software
Loading...
Searching...
No Matches
TauSelectionTool.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5// Local include(s):
8
9// Framework include(s):
11
12// ROOT include(s)
13#include "TEnv.h"
14#include "THashList.h"
15
16using namespace TauAnalysisTools;
17
18//=================================PUBLIC-PART==================================
19//______________________________________________________________________________
20TauSelectionTool::TauSelectionTool( const std::string& name )
21 : asg::AsgMetadataTool( name )
22 , m_sJetIDWP("JETIDNONE")
23 , m_sEleIDWP("ELEIDNONE")
24 , m_fOutFile(nullptr)
25 , m_aAccept( "TauSelection" )
26{}
27
28//______________________________________________________________________________
33
34//______________________________________________________________________________
36{
37
40 m_vNTracks = m_vecNTracks.value();
41
42 bool bConfigViaConfigFile = !m_sConfigPath.empty();
43 bool bConfigViaProperties = false;
44 if (!bConfigViaProperties and !std::isnan(m_dPtMin.value())) bConfigViaProperties = true;
45 if (!bConfigViaProperties and !m_vAbsEtaRegion.empty()) bConfigViaProperties = true;
46 if (!bConfigViaProperties and !std::isnan(m_dAbsEtaMin.value())) bConfigViaProperties = true;
47 if (!bConfigViaProperties and !std::isnan(m_dAbsEtaMax.value())) bConfigViaProperties = true;
48 if (!bConfigViaProperties and !m_vAbsCharges.empty()) bConfigViaProperties = true;
49 if (!bConfigViaProperties and !std::isnan(m_iAbsCharge.value())) bConfigViaProperties = true;
50 if (!bConfigViaProperties and !m_vNTracks.empty()) bConfigViaProperties = true;
51 if (!bConfigViaProperties and !std::isnan(m_iNTrack.value())) bConfigViaProperties = true;
52 if (!bConfigViaProperties and !std::isnan(m_dJetRNNSigTransMin.value())) bConfigViaProperties = true;
53 if (!bConfigViaProperties and !std::isnan(m_dGNTauSigTransMin.value())) bConfigViaProperties = true;
54 if (!bConfigViaProperties and m_iJetIDWP != TauAnalysisTools::JetID::JETIDNONE) bConfigViaProperties = true;
55 if (!bConfigViaProperties and !std::isnan(m_dEleRNNSigTransMin.value())) bConfigViaProperties = true;
56 if (!bConfigViaProperties and m_iEleIDWP != 0) bConfigViaProperties = true;
57 if (!bConfigViaProperties and m_bMuonOLR) bConfigViaProperties = true;
58
59 if (bConfigViaConfigFile and bConfigViaProperties)
60 {
61 ATH_MSG_ERROR("Configured tool via setProperty and configuration file, which may lead to unexpected configuration. Please setup the TauSelectionTool using only one of the two methods. For further details please refer to the documentation https://gitlab.cern.ch/atlas/athena/blob/main/PhysicsAnalysis/TauID/TauAnalysisTools/doc/README-TauSelectionTool.rst or contact the TauCP group.");
62 return StatusCode::FAILURE;
63 }
64 if (!bConfigViaConfigFile and !bConfigViaProperties)
65 {
66 ATH_MSG_WARNING("No cut configuration provided, the tool will not do anything. For further details please refer to the documentation:");
67 ATH_MSG_WARNING("https://gitlab.cern.ch/atlas/athena/blob/main/PhysicsAnalysis/TauID/TauAnalysisTools/doc/README-TauSelectionTool.rst");
68 return StatusCode::SUCCESS;
69 }
70
71 if (bConfigViaConfigFile)
72 {
73 TEnv rEnv;
74 std::string sInputFilePath = PathResolverFindCalibFile(m_sConfigPath);
75
76 if (!testFileForEOFContainsCharacters(sInputFilePath))
77 ATH_MSG_WARNING("Config file for TauSelectionTool with path "<<sInputFilePath<<" does not contain an empty last line. The tool might not be properly configured!");
78
79 rEnv.ReadFile(sInputFilePath.c_str(),
80 kEnvAll);
81
82 std::vector<std::string> vCuts;
83 // if Cuts are specified in the config file take these ones, if not take all
84 // specified in the config
85 if (rEnv.Defined("SelectionCuts"))
86 TauAnalysisTools::split(rEnv, "SelectionCuts", ' ', vCuts);
87 else
88 {
89 auto lList = rEnv.GetTable();
90 for( Int_t i = 0; i < lList->GetEntries(); ++i )
91 {
92 vCuts.push_back( lList->At( i )->GetName() );
93 }
94 }
95
96 int iSelectionCuts = 0;
97
98 for (const std::string& sCut : vCuts)
99 {
100 if (sCut == "PtMin")
101 {
102 iSelectionCuts = iSelectionCuts | CutPt;
103 if (std::isnan(m_dPtMin.value()))
104 m_dPtMin = rEnv.GetValue("PtMin",NAN);
105 }
106 else if (sCut == "AbsEtaRegion")
107 {
108 iSelectionCuts = iSelectionCuts | CutAbsEta;
109 if (m_vAbsEtaRegion.empty())
110 TauAnalysisTools::split(rEnv,"AbsEtaRegion", ';', m_vAbsEtaRegion);
111 }
112 else if (sCut == "AbsEtaMin")
113 {
114 iSelectionCuts = iSelectionCuts | CutAbsEta;
115 if (std::isnan(m_dAbsEtaMin.value()))
116 m_dAbsEtaMin = rEnv.GetValue("AbsEtaMin",NAN);
117 }
118 else if (sCut == "AbsEtaMax")
119 {
120 iSelectionCuts = iSelectionCuts | CutAbsEta;
121 if (std::isnan(m_dAbsEtaMax.value()))
122 m_dAbsEtaMax = rEnv.GetValue("AbsEtaMax",NAN);
123 }
124 else if (sCut == "AbsCharges")
125 {
126 iSelectionCuts = iSelectionCuts | CutAbsCharge;
127 if (m_vAbsCharges.empty())
128 TauAnalysisTools::split(rEnv,"AbsCharges", ';', m_vAbsCharges);
129 }
130 else if (sCut == "AbsCharge")
131 {
132 iSelectionCuts = iSelectionCuts | CutAbsCharge;
133 if (std::isnan(m_iAbsCharge.value()))
134 m_iAbsCharge = rEnv.GetValue("AbsCharge",NAN);
135 }
136 else if (sCut == "NTracks")
137 {
138 iSelectionCuts = iSelectionCuts | CutNTrack;
139 if (m_vNTracks.empty())
140 TauAnalysisTools::split(rEnv,"NTracks", ';', m_vNTracks);
141 }
142 else if (sCut == "NTrack")
143 {
144 iSelectionCuts = iSelectionCuts | CutNTrack;
145 if (std::isnan(m_iNTrack.value()))
146 m_iNTrack = rEnv.GetValue("NTrack",NAN);
147 }
148 else if (sCut == "JetRNNSigTransMin")
149 {
150 iSelectionCuts = iSelectionCuts | CutJetRNNScoreSigTrans;
151 if (std::isnan(m_dJetRNNSigTransMin.value()))
152 m_dJetRNNSigTransMin = rEnv.GetValue("JetRNNSigTransMin",NAN);
153 }
154 else if (sCut == "GNTauSigTransMin")
155 {
156 iSelectionCuts = iSelectionCuts | CutGNTauScoreSigTrans;
157 if (std::isnan(m_dGNTauSigTransMin.value()))
158 m_dGNTauSigTransMin = rEnv.GetValue("GNTauSigTransMin",NAN);
159
160 // check if using GNTau
161 m_useGNTau = true;
162 }
163 else if (sCut == "EleRNNSigTransMin")
164 {
165 iSelectionCuts = iSelectionCuts | CutEleRNNScoreSigTrans;
166 if (std::isnan(m_dEleRNNSigTransMin.value()))
167 m_dEleRNNSigTransMin = rEnv.GetValue("EleRNNSigTransMin",NAN);
168 }
169 else if (sCut == "JetIDWP")
170 {
171 iSelectionCuts = iSelectionCuts | CutJetIDWP;
172 if (m_iJetIDWP == JETIDNONE){
173 m_sJetIDWP = rEnv.GetValue("JetIDWP","JETIDNONE");
175 }
176 // check for possible mis-config in Tau selection
177 for (const std::string& checkCut : vCuts){
178 if (checkCut.find("SigTrans") != std::string::npos) {
179 ATH_MSG_ERROR("Misconfig due to JetIDWP and SigTrans cuts both present in the config file. Please CHECK carefully config file again");
180 return StatusCode::FAILURE;
181 }
182 }
183 }
184 else if (sCut == "EleIDWP")
185 {
186 iSelectionCuts = iSelectionCuts | CutEleIDWP;
188 m_sEleIDWP = rEnv.GetValue("EleIDWP","ELEIDNONE");
190 }
191 }
192 else if (sCut == "MuonOLR")
193 {
194 iSelectionCuts = iSelectionCuts | CutMuonOLR;
195 if (!m_bMuonOLR)
196 m_bMuonOLR = rEnv.GetValue("MuonOLR",false);
197 }
198 else ATH_MSG_WARNING("Cut " << sCut << " is not available");
199 }
200
201 if (m_iSelectionCuts == NoCut)
202 m_iSelectionCuts = iSelectionCuts;
203 }
204
205 // check if using GNTau
206 if(m_sJetIDWP.find("GNTAU") != std::string::npos)
207 m_useGNTau = true;
208
209 // initialise the ReadHandleKey of the muon container when the muon veto is applied
211
212 ATH_CHECK( m_tauContainerKey.initialize() );
213
214 // initialise the ReadDecorHandleKey if GNTau is applied
215 if (m_useGNTau) {
216 ATH_CHECK( m_GNTauDecorKey.assign(m_tauContainerKey.key()+".GNTauScoreSigTrans_v0prune"));
217 }
218 ATH_CHECK( m_GNTauDecorKey.initialize( m_useGNTau ) );
219
220 // initialise the ReadDecorHandleKey if eVeto is applied
222 ATH_CHECK( m_eVetoDecorKey.assign(m_tauContainerKey.key()+".RNNEleScoreSigTrans_v"+std::to_string(m_iEleIDVersion)) );
223 }
225
226 // specify all available cut descriptions
227 using map_type = std::map<SelectionCuts, std::unique_ptr<TauAnalysisTools::TauSelectionCut>>;
228 using pair_type = map_type::value_type;
229
230 pair_type elements[] =
231 {
232 {CutPt, std::make_unique<TauAnalysisTools::TauSelectionCutPt>(this)},
233 {CutAbsEta, std::make_unique<TauAnalysisTools::TauSelectionCutAbsEta>(this)},
234 {CutAbsCharge, std::make_unique<TauAnalysisTools::TauSelectionCutAbsCharge>(this)},
235 {CutNTrack, std::make_unique<TauAnalysisTools::TauSelectionCutNTracks>(this)},
236 {CutJetRNNScoreSigTrans, std::make_unique<TauAnalysisTools::TauSelectionCutRNNJetScoreSigTrans>(this)},
237 {CutGNTauScoreSigTrans, std::make_unique<TauAnalysisTools::TauSelectionCutGNTauScoreSigTrans>(this)},
238 {CutJetIDWP, std::make_unique<TauAnalysisTools::TauSelectionCutJetIDWP>(this)},
239 {CutEleRNNScoreSigTrans, std::make_unique<TauAnalysisTools::TauSelectionCutRNNEleScoreSigTrans>(this)},
240 {CutEleIDWP, std::make_unique<TauAnalysisTools::TauSelectionCutEleIDWP>(this)},
241 {CutMuonOLR, std::make_unique<TauAnalysisTools::TauSelectionCutMuonOLR>(this)}
242 };
243
244 m_cMap = { std::make_move_iterator( begin(elements) ), std::make_move_iterator( end(elements) ) };
245
246 ATH_MSG_INFO( "Initializing TauSelectionTool" );
254
257 PrintConfigValue ("AbsCharge", m_vAbsCharges);
258 PrintConfigValue ("NTrack", m_vNTracks);
259 PrintConfigRegion ("RNNJetScoreSigTrans", m_vJetRNNSigTransRegion);
260 PrintConfigRegion ("GNTauScoreSigTrans", m_vGNTauSigTransRegion);
261 PrintConfigRegion ("RNNEleScoreSigTrans", m_vEleRNNSigTransRegion);
262 PrintConfigValue ("JetIDWP", m_sJetIDWP);
263 PrintConfigValue ("JetIDWP ENUM",m_iJetIDWP);
264 PrintConfigValue ("EleIDWP", m_sEleIDWP);
265 PrintConfigValue ("EleIDWP ENUM",m_iEleIDWP);
266 PrintConfigValue ("EleIDVersion",m_iEleIDVersion);
267 PrintConfigValue ("MuonOLR", m_bMuonOLR);
268
269 std::string sCuts = "";
270 if (m_iSelectionCuts & CutPt) sCuts += "Pt ";
271 if (m_iSelectionCuts & CutAbsEta) sCuts += "AbsEta ";
272 if (m_iSelectionCuts & CutAbsCharge) sCuts += "AbsCharge ";
273 if (m_iSelectionCuts & CutNTrack) sCuts += "NTrack ";
274 if (m_iSelectionCuts & CutJetRNNScoreSigTrans) sCuts += "JetRNNScoreSigTrans ";
275 if (m_iSelectionCuts & CutGNTauScoreSigTrans) sCuts += "GNTauScoreSigTrans ";
276 if (m_iSelectionCuts & CutJetIDWP) sCuts += "JetIDWP ";
277 if (m_iSelectionCuts & CutEleRNNScoreSigTrans) sCuts += "EleRNNScoreSigTrans ";
278 if (m_iSelectionCuts & CutEleIDWP) sCuts += "EleIDWP ";
279 if (m_iSelectionCuts & CutMuonOLR) sCuts += "MuonOLR ";
280
281 ATH_MSG_DEBUG( "cuts: " << sCuts);
282
285
286 for ( const auto& entry : m_cMap ) {
287 if ( m_iSelectionCuts &entry.first ) {
288 entry.second->setAcceptInfo(m_aAccept);
289 }
290 }
291
292 return StatusCode::SUCCESS;
293}
294
295
296//______________________________________________________________________________
298{
299 return StatusCode::SUCCESS;
300}
301
302//______________________________________________________________________________
304{
305 return m_aAccept;
306}
307
308//______________________________________________________________________________
310{
311 // Check if this is a tau:
312 if( xP->type() != xAOD::Type::Tau )
313 {
314 ATH_MSG_ERROR( "accept(...) Function received a non-tau" );
315 return asg::AcceptData (&m_aAccept);
316 }
317
318 // Cast it to a tau:
319 const xAOD::TauJet* xTau = dynamic_cast< const xAOD::TauJet* >( xP );
320 if( ! xTau )
321 {
322 ATH_MSG_FATAL( "accept(...) Failed to cast particle to tau" );
323 return asg::AcceptData (&m_aAccept);
324 }
325
326 // Let the specific function do the work:
327 return accept( *xTau );
328}
329
330//______________________________________________________________________________
332{
333 asg::AcceptData acceptData (&m_aAccept);
334
335 int iNBin = 0;
336
338 {
339 // fill cutflow 'All' bin
340 m_hCutFlow->Fill(iNBin);
341 // fill main distributions before all cuts
342 for (const auto& entry : m_cMap)
343 entry.second->fillHistogramCutPre(xTau);
344 }
345 try
346 {
347 for (const auto& entry : m_cMap)
348 {
349 if (m_iSelectionCuts & entry.first)
350 {
351 if (!entry.second->accept(xTau, acceptData))
352 return acceptData;
353 else
354 {
356 {
357 // fill cutflow after each passed cut
358 iNBin++;
359 m_hCutFlow->Fill(iNBin);
360 }
361 }
362 }
363 }
364 }
365 catch (const std::runtime_error& error)
366 {
367 // LEGACY: In practical terms this should probably just throw, not
368 // print a warning/error and then continue on. However, I leave
369 // that to the experts who probably had a reason not to let the
370 // exception escape. For now I just downgraded it from error to
371 // warning and limited the number of warnings (04 Jan 22).
372 static std::atomic<uint64_t> warning_count (0u);
373 auto mycount = ++ warning_count;
374 if (mycount < 10u)
375 {
376 ATH_MSG_WARNING(error.what());
377 if (mycount == 9u)
378 ATH_MSG_WARNING ("this is your last warning");
379 }
380 }
381
382 // fill main distributions after all cuts
384 {
385 for (const auto& entry : m_cMap)
386 entry.second->fillHistogramCut(xTau);
387 }
388
389 // // Return the result:
390 return acceptData;
391}
392
393//______________________________________________________________________________
394void TauSelectionTool::setOutFile( TFile* fOutFile )
395{
396 m_fOutFile = fOutFile;
397}
398
399//______________________________________________________________________________
401{
403 ATH_MSG_WARNING("CreateControlPlots was set to true, but no valid file pointer was provided");
405 {
407 m_fOutFile->mkdir((this->name()+"_control").c_str());
408 m_fOutFile->cd((this->name()+"_control").c_str());
410 m_hCutFlow->Write();
411
412 for (const auto& entry : m_cMap)
413 entry.second->writeControlHistograms();
414 }
415}
416
417
418//=================================PRIVATE-PART=================================
420{
421 // count number of cuts
422 int iNBins = 0;
423 for (const auto& entry : m_cMap)
424 if (m_iSelectionCuts & entry.first)
425 iNBins++;
426 // create cutflow histogram with iNBins+1 bins, where first bin is 'All' bin
427 m_hCutFlow = std::make_shared<TH1F>("hCutFlow","CutFlow;; events",iNBins+1,0,iNBins+1);
428 m_hCutFlow->GetXaxis()->SetBinLabel(1,"All");
429
430 // reusing this variable to reduce overhead
431 iNBins = 2;
432 // set bin labels
433 for (const auto& entry : m_cMap)
434 if (m_iSelectionCuts & entry.first)
435 {
436 m_hCutFlow->GetXaxis()->SetBinLabel(iNBins, entry.second->getName().c_str());
437 iNBins++;
438 }
439}
440
441//______________________________________________________________________________
442template<typename T, typename U>
443void TauSelectionTool::FillRegionVector(std::vector<T>& vRegion, U tMin, U tMax) const
444{
445 if (!vRegion.empty())
446 return;
447 if (tMin == tMin) // if tMin is NAN, then this assumption fails and -inf is added to the vector
448 vRegion.push_back(tMin);
449 else
450 vRegion.push_back(-std::numeric_limits<T>::infinity());
451
452 if (tMax == tMax) // if tMax is NAN, then this assumption fails and inf is added to the vector
453 vRegion.push_back(tMax);
454 else
455 vRegion.push_back(std::numeric_limits<T>::infinity());
456}
457
458//______________________________________________________________________________
459template<typename T, typename U>
460void TauSelectionTool::FillValueVector(std::vector<T>& vRegion, U tVal) const
461{
462 if (!vRegion.empty())
463 return;
464 if (tVal == tVal) // if tMax is NAN, then this assumption fails and nothing is added to the vector
465 vRegion.push_back(tVal);
466}
467
468//______________________________________________________________________________
469template<typename T>
470void TauSelectionTool::PrintConfigRegion(const std::string& sCutName, std::vector<T>& vRegion) const
471{
472 unsigned int iNumRegion = vRegion.size()/2;
473 for( unsigned int iRegion = 0; iRegion < iNumRegion; iRegion++ )
474 {
475 ATH_MSG_DEBUG( sCutName<<": " << vRegion.at(iRegion*2) << " to " << vRegion.at(iRegion*2+1) );
476 }
477}
478
479//______________________________________________________________________________
480template<typename T>
481void TauSelectionTool::PrintConfigValue(const std::string& sCutName, std::vector<T>& vRegion) const
482{
483 for (auto tVal : vRegion)
484 ATH_MSG_DEBUG( sCutName<<": " << tVal );
485}
486
487//______________________________________________________________________________
488template<typename T>
489void TauSelectionTool::PrintConfigValue(const std::string& sCutName, T& tVal) const
490{
491 ATH_MSG_DEBUG( sCutName<<": " << tVal );
492}
493
494//______________________________________________________________________________
495int TauSelectionTool::convertStrToJetIDWP(const std::string& sJetIDWP) const
496{
497 if (sJetIDWP == "JETIDNONE") return int(JETIDNONE);
498 else if (sJetIDWP == "JETIDRNNVERYLOOSE") return int(JETIDRNNVERYLOOSE);
499 else if (sJetIDWP == "JETIDRNNLOOSE") return int(JETIDRNNLOOSE);
500 else if (sJetIDWP == "JETIDRNNMEDIUM") return int(JETIDRNNMEDIUM);
501 else if (sJetIDWP == "JETIDRNNTIGHT") return int(JETIDRNNTIGHT);
502 else if (sJetIDWP == "JETIDGNTAUVERYLOOSE") return int(JETIDGNTAUVERYLOOSE);
503 else if (sJetIDWP == "JETIDGNTAULOOSE") return int(JETIDGNTAULOOSE);
504 else if (sJetIDWP == "JETIDGNTAUMEDIUM") return int(JETIDGNTAUMEDIUM);
505 else if (sJetIDWP == "JETIDGNTAUTIGHT") return int(JETIDGNTAUTIGHT);
506
507 ATH_MSG_ERROR( "jet ID working point "<<sJetIDWP<<" is unknown, the JetIDWP cut will not accept any tau!" );
508 return -1;
509}
510
511//______________________________________________________________________________
512int TauSelectionTool::convertStrToEleIDWP(const std::string& sEleIDWP) const
513{
514 if (sEleIDWP == "ELEIDNONE") return int(ELEIDNONE);
515 else if (sEleIDWP == "ELEIDRNNLOOSE") return int(ELEIDRNNLOOSE);
516 else if (sEleIDWP == "ELEIDRNNMEDIUM") return int(ELEIDRNNMEDIUM);
517 else if (sEleIDWP == "ELEIDRNNTIGHT") return int(ELEIDRNNTIGHT);
518
519 ATH_MSG_ERROR( "electron ID working point " << sEleIDWP << " is unknown, the EleIDWP cut will not accept any tau!" );
520 return -1;
521}
522
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x)
#define ATH_MSG_FATAL(x)
#define ATH_MSG_INFO(x)
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
void FillValueVector(std::vector< T > &vRegion, U tVal) const
virtual StatusCode beginEvent() override
Function called when a new events is loaded.
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_GNTauDecorKey
Gaudi::Property< float > m_dAbsEtaMax
std::vector< float > m_vJetRNNSigTransRegion
void FillRegionVector(std::vector< T > &vRegion, U tMin, U tMax) const
Gaudi::Property< std::string > m_sConfigPath
Gaudi::Property< std::vector< float > > m_vecAbsEtaRegion
Gaudi::Property< float > m_iNTrack
Gaudi::Property< int > m_iEleIDVersion
void PrintConfigRegion(const std::string &sCutName, std::vector< T > &vRegion) const
SG::ReadDecorHandleKey< xAOD::TauJetContainer > m_eVetoDecorKey
Gaudi::Property< float > m_dEleRNNSigTransMin
int convertStrToJetIDWP(const std::string &sJetIDWP) const
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauContainerKey
virtual void setOutFile(TFile *fOutFile) override
Set output file for control histograms.
Gaudi::Property< std::vector< unsigned > > m_vecNTracks
asg::AcceptInfo m_aAccept
Object used to store selection information.
Gaudi::Property< float > m_dAbsEtaMin
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
Gaudi::Property< float > m_dPtMin
std::vector< float > m_vEleRNNSigTransRegion
std::map< SelectionCuts, std::unique_ptr< TauAnalysisTools::TauSelectionCut > > m_cMap
virtual StatusCode initialize() override
Function initialising the tool.
TauSelectionTool(const std::string &name)
Constructor for standalone usage.
int convertStrToEleIDWP(const std::string &sEleIDWP) const
virtual const asg::AcceptInfo & getAcceptInfo() const override
Get an object describing the "selection steps" of the tool.
virtual void writeControlHistograms() override
Write control histograms to output file.
Gaudi::Property< bool > m_bCreateControlPlots
virtual asg::AcceptData accept(const xAOD::IParticle *p) const override
Get the decision using a generic IParticle pointer.
Gaudi::Property< int > m_iSelectionCuts
std::vector< float > m_vGNTauSigTransRegion
Gaudi::Property< float > m_dGNTauSigTransMin
Gaudi::Property< std::vector< int > > m_vecAbsCharges
void PrintConfigValue(const std::string &sCutName, std::vector< T > &vRegion) const
Gaudi::Property< float > m_dJetRNNSigTransMin
Gaudi::Property< float > m_iAbsCharge
AsgMetadataTool(const std::string &name)
Normal ASG tool constructor with a name.
Class providing the definition of the 4-vector interface.
virtual Type::ObjectType type() const =0
The type of the object as a simple enumeration.
void split(const std::string &sInput, const char cDelim, std::vector< std::string > &vOut)
bool testFileForEOFContainsCharacters(const std::string &sFileName)
returns true if last line in file is empty or the line starts with the number sign
@ Tau
The object is a tau (jet)
Definition ObjectType.h:49
TauJet_v3 TauJet
Definition of the current "tau version".