ATLAS Offline Software
Functions
CDIReaderTester.cxx File Reference
#include "CalibrationDataInterface/CDIReader.h"
#include <string>
#include <iomanip>
#include <iostream>
Include dependency graph for CDIReaderTester.cxx:

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 18 of file CDIReaderTester.cxx.

18  {
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 }
LHEF::Reader
Pythia8::Reader Reader
Definition: Prophecy4fMerger.cxx:11
Analysis::CDIReader
Definition: CDIReader.h:39