BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
AutoHistoCompare.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <TDirectory.h>
4
#include <TFile.h>
5
#include <TH1F.h>
6
#include <TH2.h>
7
#include <TLegend.h>
8
#include <TProfile.h>
9
#include <TText.h>
10
// #include <TObject.h>
11
12
class
AutoHistoCompare
{
13
public
:
14
AutoHistoCompare
( TH1F* h1,
const
char
* oldfn,
const
char
* newfn,
int
method = 2,
bool
norm =
false
);
15
~AutoHistoCompare
();
16
17
void
isNorm
(
bool
isnorm ) { norm = isnorm; }
18
19
void
ComparisonH1
();
20
void
ComparisonH2
();
21
void
ComparisonProfile
();
22
23
void
DoCompare
();
24
void
FolderMatch
();
25
void
MatchH1
( TObject* obj );
26
void
FolderMatchH1
( TObject* obj );
27
28
private
:
29
Double_t mypv;
30
31
TH1* myoldHisto1;
32
TH1* mynewHisto1;
33
34
TH2* myoldHisto2;
35
TH2* mynewHisto2;
36
37
TProfile* myoldProfile;
38
TProfile* mynewProfile;
39
40
TText* myte;
41
TH1F* PvHisto;
42
43
TFile* oldfile;
44
TFile* newfile;
45
46
TList* oldlist;
47
TList* newlist;
48
49
TDirectory* olddir;
50
TDirectory* newdir;
51
52
TList* oldlistfolder;
53
TList* newlistfolder;
54
55
TText* te;
56
TLegend* leg;
57
58
Int_t method;
59
Bool_t norm;
// normalize
60
};
61
AutoHistoCompare::ComparisonH2
void ComparisonH2()
Definition
AutoHistoCompare.cpp:196
AutoHistoCompare::FolderMatch
void FolderMatch()
Definition
AutoHistoCompare.cpp:79
AutoHistoCompare::MatchH1
void MatchH1(TObject *obj)
Definition
AutoHistoCompare.cpp:92
AutoHistoCompare::AutoHistoCompare
AutoHistoCompare(TH1F *h1, const char *oldfn, const char *newfn, int method=2, bool norm=false)
Definition
AutoHistoCompare.cpp:31
AutoHistoCompare::DoCompare
void DoCompare()
Definition
AutoHistoCompare.cpp:60
AutoHistoCompare::~AutoHistoCompare
~AutoHistoCompare()
Definition
AutoHistoCompare.cpp:53
AutoHistoCompare::ComparisonH1
void ComparisonH1()
Definition
AutoHistoCompare.cpp:128
AutoHistoCompare::ComparisonProfile
void ComparisonProfile()
Definition
AutoHistoCompare.cpp:218
AutoHistoCompare::FolderMatchH1
void FolderMatchH1(TObject *obj)
Definition
AutoHistoCompare.cpp:110
AutoHistoCompare::isNorm
void isNorm(bool isnorm)
Definition
AutoHistoCompare.h:17
8.0.0
BOSS_Source
Validation
ValidCommon
share
AutoHistoCompare.h
Generated by
1.16.1