Commit 2f96c67e authored by Vratislav Chudoba's avatar Vratislav Chudoba

Parametrization of Spectra() solved.

parent a389fc81
This diff is collapsed.
......@@ -13,6 +13,7 @@
//#include <TObject.h>
#include "TChain.h"
#include "TCut.h"
#include "TCanvas.h"
using std::cout;
using std::endl;
......@@ -23,6 +24,14 @@ public:
virtual ~BeAnalysis();
ClassDef(BeAnalysis, 1);
void SetExpChain(TString files, Int_t minFnumber, Int_t maxFnumber);
void SetSimChains(TString chainAl0name, TString chainNoAl0name,
TString chainAl180name, TString chainNoAl180name,
TString chainAl90name, TString chainNoAl90name);
void SetInputChains(TString inputAl0name, TString inputNoAl0name,
TString inputAl180name, TString inputNoAl180name,
TString inputAl90name, TString inputNoAl90name);
void SetNoSimFiles(Int_t *minFnumber = 0, Int_t *maxFnumber = 0);
void OpenSimChains();
void OpenExpChain();
......@@ -34,11 +43,13 @@ public:
void SetCuts();
void SetCMAngularRange(Int_t minAngle, Int_t maxAngle);
private:
void SetCMAngularCuts();
public:
void SetRangeProportion(Float_t rangeProportion = 1.1, Bool_t autoRange = 1);
void SetNoExpEvents();
void SetNoSimEvents();
void SetNoExpEvents(Long64_t *noExpEvents = 0);
void SetNoSimEvents(Long64_t *noSimEvents = 0);
void SetRatiosGStoEX();
void ExpEventsECuts();
void SimEventsECuts();
......@@ -49,15 +60,25 @@ public:
void CosThetaTk();
void EpsilonY();
void CosThetaYk();
void ThetaP1T();
void ThetaAT();
void SetFigures(TString figPath = "figures/", TString figFormat = ".eps", Bool_t kSave = 1);
//
private:
TChain *che; //chain with experimental trees
TChain *chs[6]; //array of chains with simulation trees
TTree *ti[6]; //array of chains with simulation input
Int_t lowExpFile;
Int_t upExpFile;
TString expFiles;
TString simFiles[6];
TString inputFiles[6];
Int_t lowSimFile[6];
Int_t upSimFile[6];
Int_t kMinAngle;
Int_t kMaxAngle;
......@@ -71,7 +92,6 @@ private:
Bool_t *epsilonY; //!
Bool_t *cosThetaY; //!
// Bool_t *thetaP1T; //!
Bool_t *thetaAT; //!
Bool_t kAutoRange;
......@@ -80,12 +100,12 @@ private:
Float_t kRangeProportionIn;
Long64_t eMaxEvents;
Long64_t eEventsAl0;
Long64_t eEventsNoAl0;
Long64_t eEventsAl180;
Long64_t eEventsNoAl180;
Long64_t eEventsAl90;
Long64_t eEventsNoAl90;
// Long64_t eEventsAl0;
// Long64_t eEventsNoAl0;
// Long64_t eEventsAl180;
// Long64_t eEventsNoAl180;
// Long64_t eEventsAl90;
// Long64_t eEventsNoAl90;
Long64_t eEvents[6];
Long64_t sMaxEvents;
......@@ -175,8 +195,17 @@ private:
TString hsName;
TString heName;
TString hiName;
TString canvasName;
TString canvasTitle;
Bool_t kSaveFigures;
TString figurePath;
TString figureFormat;
private:
void SaveFigures(TCanvas *canvas, TString variable, Int_t interval);
};
#endif /* BE_BEANALYSIS_H_ */
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment