ATLAS Offline Software
Loading...
Searching...
No Matches
MuonDQAFitFunc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef Muon_MuonDQAFitFunc_H
6#define Muon_MuonDQAFitFunc_H
7
8
9
10
12#include "GaudiKernel/ToolHandle.h"
13#include <string>
14
15class TH1F;
16class TH2F;
17class TProfile;
18class TProfile2D;
19
20static const InterfaceID IID_MuonDQAFitFunc("Muon::MuonDQAFitFunc",1,0);
21
22namespace Muon {
29
30 class MuonDQAFitFunc: public AthAlgTool {
31 public:
32
34 MuonDQAFitFunc(const std::string& type, const std::string& name, const IInterface* parent);
35
37 virtual ~MuonDQAFitFunc() {};
38
40 static const InterfaceID& interfaceID() { return IID_MuonDQAFitFunc; }
41
42 void ZmumuFitHistograms(TH1F* hmass, TH1F* hwidth, TH1F* h1[], int nbins);
43
44 void MuonEffHisto1D(TH1F* h_Num, TH1F* h_Denom, TProfile* h_Eff) const;
45 void MuonEffHisto2D(TH2F* h_Num, TH2F* h_Denom, TProfile2D* h_Eff) const;
46
50 void MinWindow1Set_from_TProf(TProfile* hProf, float windowMin, float windowMax) const;
51 void MinWindow2Set_from_TProf(TProfile2D* hProf, float windowMin, float windowMax) const;
52
53 void FillMeanRmsProj(TH2F*, TH1F*, int) const;
54
56 void FillRMSFromProfile(TProfile*, TH1F*) const;
57
59 void FillRMSFromCharProfile(TProfile*, TH1F*) const;
60 void FillGausMeanOrWidth(TH2F*, TH1F*, float, float, int) const;
61 void FillGaussMeanAndWidth(TH2F*, TH1F*, float, float) const;
62 void FillGaussMeanAndWidth(TH1F*, TH1F*, int, float, float) const;
63
64 protected:
65 const static int NBINS=6;
68
69 private:
71 };
72}
73#endif
static const InterfaceID IID_MuonDQAFitFunc("Muon::MuonDQAFitFunc", 1, 0)
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
void MinWindow1Set_from_TProf(TProfile *hProf, float windowMin, float windowMax) const
================================================================
void MuonEffHisto2D(TH2F *h_Num, TH2F *h_Denom, TProfile2D *h_Eff) const
void FillRMSFromCharProfile(TProfile *, TH1F *) const
Fills a histogram with the RMS values of a TProfile, which labeled bins->keeping the labeling for the...
virtual ~MuonDQAFitFunc()
destructor
void ZmumuFitHistograms(TH1F *hmass, TH1F *hwidth, TH1F *h1[], int nbins)
void FillGaussMeanAndWidth(TH2F *, TH1F *, float, float) const
void FillMeanRmsProj(TH2F *, TH1F *, int) const
void MuonEffHisto1D(TH1F *h_Num, TH1F *h_Denom, TProfile *h_Eff) const
void FillGausMeanOrWidth(TH2F *, TH1F *, float, float, int) const
void MinWindow2Set_from_TProf(TProfile2D *hProf, float windowMin, float windowMax) const
MuonDQAFitFunc(const std::string &type, const std::string &name, const IInterface *parent)
constructor
static const int NBINS
void FillRMSFromProfile(TProfile *, TH1F *) const
Fills a histogram with the RMS values of a TProfile.
static const InterfaceID & interfaceID()
access to tool interface
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)