30 #include "TApplication.h"
51 if (plane != NULL )plane->
print();
60 for(Int_t ndet = 0; ndet<2; ndet++){
62 if ( m == NULL )
continue;
65 for(Int_t i=0;i<
NADC;i++){
66 if(i>80 && i<420)
continue;
67 for(Int_t j=0;j<
NCHAN;j++){
79 if(qTot>3e4 && qTot<1e5){
80 for(Int_t j=0;j<
NCHAN;j++){
81 for(Int_t i=0;i<
NADC;i++){
84 hMap[ndet]->Fill(i,j,q);
94 hMap[0] =
new TH2F(
"hMapX",
"map;Time;Channel",512,0,512,288,0,288);
95 hMap[1] =
new TH2F(
"hMapY",
"map;Time;Channel",512,0,512,288,0,288);
97 const Int_t nbinsQcl = 200;
98 Double_t xminQcl = 10;
99 Double_t xmaxQcl = 1e7;
100 Double_t logxminQcl = TMath::Log(xminQcl);
101 Double_t logxmaxQcl = TMath::Log(xmaxQcl);
102 Double_t binwidthQcl = (logxmaxQcl-logxminQcl)/nbinsQcl;
103 Double_t xbinsQcl[nbinsQcl+1];
104 xbinsQcl[0] = xminQcl;
105 for (Int_t i=1;i<=nbinsQcl;i++)
106 xbinsQcl[i] = TMath::Exp(logxminQcl+i*binwidthQcl);
108 hQtotOut[0] =
new TH1F(
"hQtotOutX",
"",nbinsQcl,xbinsQcl);
109 hQtotOut[1] =
new TH1F(
"hQtotOutY",
"",nbinsQcl,xbinsQcl);
117 TCanvas* c =
new TCanvas(
"c",
"",1200,800);
Double_t GetData(Int_t i, Int_t j)
Set/Get Data Cell.
Dummy analysis to run as test and example. Give basic histograms of the data.
TFile * OpenHistFile(const char *ananame)
unpacked dcc data The class contains the data map for DCC or Feminos The data is stored as a 2D TMatr...
TH1F * hQtotOut[2]
Redefine empty default.
TVirtualPad * MakeNiceHisto(TH1 *hist, TVirtualPad *c1, const char *opt, Bool_t copy)
void Save(char *mode=NULL)
HarpoEventHeader * GetHeader()
const ULong_t gkNDetectors
HarpoDccMap * GetDccMap(Long_t plane=XDCC)