HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HarpoClusteringBlocs.h
Go to the documentation of this file.
1 #ifndef HARPOCLUSTERINGBLOCS_H
2 #define HARPOCLUSTERINGBLOCS_H
3 
5 //
6 // HarpoClusteringBlocs
7 //
8 // Dummy analysis which creates basic test histograms
9 //
10 
11 #include "TObject.h"
12 #include "HarpoAnalyse.h"
13 #include "HarpoEvent.h"
14 #include "TProfile.h"
15 #include "TH1F.h"
16 #include "TH2F.h"
17 #include "TGraphErrors.h"
18 #include "TGNumberEntry.h"
19 
21 
22  public:
23 
25 
26  void Init();
27  void Save(char *mode=NULL);
28  void process();
29  void print();
30  Int_t GroupClusters(Int_t nBloc, Int_t i, Int_t j, TClonesArray* clArray);
31  HarpoRecoClusters* CollateClusters(Int_t iCl,Int_t i, Int_t j, TClonesArray* clArray);
32  Int_t MakeClusters(Int_t ndet);
33  void DisplayAnalysis(TRootEmbeddedCanvas* ecTab, TGListBox* infobox);
34  void ConfigFrame(TGMainFrame* fMain, Int_t id);
35  void SetConfig();
36 
37  private:
38 
39  TGNumberEntry* fChooseRebinX;
40  TGNumberEntry* fChooseRebinZ;
41  TGNumberEntry* fChooseNminBlocs;
42 
43  Int_t **fMapReduced;
44  Int_t **fMapUsed;
45  Int_t fNcl;
46  Int_t fNminBlocs;
47  Int_t fSizeX;
48  Int_t fSizeZ;
49  Int_t fRebinX;
50  Int_t fRebinZ;
51 
52  ClassDef(HarpoClusteringBlocs,1) //Run AnalysePrint
53 };
54 
55 #endif
Int_t GroupClusters(Int_t nBloc, Int_t i, Int_t j, TClonesArray *clArray)
Redefine empty default.
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
Definition: HarpoAnalyse.h:47
Dummy analysis to run as test and example. Give basic histograms of the data.
void DisplayAnalysis(TRootEmbeddedCanvas *ecTab, TGListBox *infobox)
Cluster object, containing position, charge and quality information.
Int_t MakeClusters(Int_t ndet)
void Save(char *mode=NULL)
void ConfigFrame(TGMainFrame *fMain, Int_t id)
TGNumberEntry * fChooseRebinX
TGNumberEntry * fChooseNminBlocs
void print()
Overloaded method which do all job.
HarpoRecoClusters * CollateClusters(Int_t iCl, Int_t i, Int_t j, TClonesArray *clArray)
TGNumberEntry * fChooseRebinZ