ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagPerformanceCalibration
CalibrationDataInterface
src
CDIReaderTester.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
CalibrationDataInterface/CDIReader.h
"
5
6
#include <string>
7
#include <iomanip>
8
#include <iostream>
9
10
15
16
using
Analysis::CDIReader
;
17
18
int
main
() {
19
std::cout <<
" Launching the CDIReaderTester . . ."
<< std::endl;
20
CDIReader
Reader(
"/cvmfs/atlas.cern.ch/repo/sw/database/GroupData/xAODBTaggingEfficiency/13TeV/2020-21-13TeV-MC16-CDI-2021-04-16_v1.root"
);
21
22
Reader.printTaggers();
23
std::cout <<
" "
<< std::endl;
24
Reader.printJetCollections();
25
std::cout <<
" "
<< std::endl;
26
Reader.printWorkingPoints();
27
std::cout <<
" "
<< std::endl;
28
Reader.printLabels();
29
std::cout <<
" "
<< std::endl;
30
31
// Check that a hypothetical configuration works, given your CDI file
32
Reader.checkConfig(
"DL1"
,
"AntiKt4EMPFlowJets_BTagging201810"
,
"FixedCutBEff_60"
);
33
34
std::cout <<
" ------------------------------------------------------ "
<< std::endl;
35
Reader.printDSIDs();
36
std::cout <<
" -----------------Finish CDIReader Test---------------- "
<< std::endl;
37
38
return
EXIT_SUCCESS;
39
}
main
int main()
Definition
CDIReaderTester.cxx:18
CDIReader.h
Analysis::CDIReader
Definition
CDIReader.h:39
Generated on
for ATLAS Offline Software by
1.14.0