ATLAS Offline Software
Loading...
Searching...
No Matches
EfficiencyPurityCalculator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRKVALHISTUTILS_EFFICIENCYPURITYCALCULATOR_H
6#define TRKVALHISTUTILS_EFFICIENCYPURITYCALCULATOR_H
7
8#include "TH1.h"
9#include "TH2.h"
10
12 public:
13 enum axis { kX, kY, kZ };
14
15 static void inverseSum( TH1* in, TH1* out, int axis );
16 static void calculateIntegrated( TH1* all, TH1* matched, TH1* puri, int axis, int dim = 1);
17 static void calculateEfficiency( TH1* reference, TH1* matched, TH1* effPur );
18
19};
20
21#endif
static void calculateEfficiency(TH1 *reference, TH1 *matched, TH1 *effPur)
static void calculateIntegrated(TH1 *all, TH1 *matched, TH1 *puri, int axis, int dim=1)
static void inverseSum(TH1 *in, TH1 *out, int axis)