#include <cmath>
#include <vector>
#include "TFile.h"
#include "TStyle.h"
#include "TMath.h"
#include "Resplot.h"
#include "Random.h"
Go to the source code of this file.
- Author
- mark sutton
- Date
- Fri 11 Jan 2019 07:41:27 CET
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Definition in file Trigger/TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/main.cxx.
◆ main()
getCoefficientMap(label, EigenIdxList)
input value:
- label: falvor label in std::string format, could be one of B, C, T, Light
- EigenIdxList is user defined vector containing all eigenvector index that user interested in. output: Map of format map<string, map<string, float>> containing decomposition coefficient of the list of eigenvectors defined by EigenIdxList.
getCoefficients(label, evIdx)
input value:
- label: falvor label in std::string format, could be one of B, C, T, Light
- evIdx: The index of eigenvector user interested in. output value: vector of coefficient values. The order is the same as output given by getListOfOriginalNuisanceParameters()
getListOfOriginalNuisanceParameters(label)
input value:
- label: falvor label in std::string format, could be one of B, C, T, Light output value: List of original nuisance parameter names.
getNumEigenVectors(label)
input value:
- label: falvor label in std::string format, could be one of B, C, T, Light return value: number of eigen vectors used for chosen label. Return 0 if error occured.
Definition at line 23 of file Trigger/TrigAnalysis/TrigInDetAnalysisUser/Resplot/src/main.cxx.
25 std::cout <<
"main()" << std::endl;
27 TFile
f(
"out.root",
"recreate");
31 double xlimitlo = -10;
35 double ylimitlo = -30;
39 Resplot plot1(
"plot1", Nxbins, xlimitlo, xlimithi, Nybins, ylimitlo, ylimithi );
40 Resplot plot2(
"plot2", Nxbins, xlimitlo, xlimithi, Nybins, ylimitlo, ylimithi );
42 std::cout <<
"running" << std::endl;
48 for (
int i=0 ;
i<10000 ;
i++ ) {
50 if ( (
i%1000)==0 ) std::cout <<
"process event " <<
i << std::endl;
60 std::cout <<
"finalising" << std::endl;
64 std::cout << __LINE__ << std::endl;
75 std::cout <<
"closing f" << std::endl;
79 std::cout <<
"operations" << std::endl;