void Correlation(TLorentzVector *lv1,TLorentzVector *lv2,TH2F *h1, TH2F *h2, TH2F *h3, TH2F *h4);
void Correlation50(AliJet *j,TLorentzVector *lv1,TLorentzVector *lv2,TH2F *h1, TH2F *h2, TH2F *h3, TH2F *h4);
// setters
- void SetDirectory(char* directory)
+ void SetDirectory(const char* directory)
{fDirectory = directory;} // directory where file with jets is
- void SetBkgdDirectory(char* directory)
+ void SetBkgdDirectory(const char* directory)
{fBkgdDirectory = directory;} // directory where file with background is
void SetOutputFile(const char* file) {fFile = file;} // file where plots will be saved
void SetPercentage(Float_t p) {fPercentage = p;} // minimum percentage of tracks coming from pythia (very aprox.)
void SetDoTriggerBias(Bool_t f = kTRUE){fDoTrig = f;} // Trigger bias plots
void SetDivideEnergy(Float_t Efactor){fEfactor = Efactor;} // Divides E of rec.jet by Efactor
void SetProperties(TH1* h,const char* x, const char* y) const;
- void SetReaderHeader(char *s="AliJetKineReaderHeader"){fReaderHeader = s;}
+ void SetReaderHeader(const char *s="AliJetKineReaderHeader"){fReaderHeader = s;}
void SetdEdrWeight();
void SetPartPtCut(Float_t c){fPartPtCut = c;}
void SetdrJt(Float_t r){fdrJt = r;}
Float_t GetdEdrWeight(Float_t eta, Float_t r);
private:
- char* fReaderHeader; // Reader header
- char* fDirectory; // Directory
- char* fBkgdDirectory; // Directory for background
+ const char* fReaderHeader; // Reader header
+ const char* fDirectory; // Directory
+ const char* fBkgdDirectory; // Directory for background
const char* fFile; // Output file name
Int_t fEventMin; // Minimum event number
Int_t fEventMax; // Maximum event number
void SaveHistograms();
// Setter
- void SetDirectory(char* directory) {fDirectory = directory;}
+ void SetDirectory(const char* directory) {fDirectory = directory;}
void SetOutputFile(const char* file) {fFile = file;}
void SetPercentage(Float_t p) { fPercentage = p;}
void SetEventRange(Int_t imin, Int_t imax) {fEventMin = imin; fEventMax = imax;}
void SetDoRecJet(Bool_t f = kTRUE) {fDoRecJ = f;}
private:
- char* fReaderHeader;// Reader header
- char* fDirectory; // Directory
+ const char* fReaderHeader;// Reader header
+ const char* fDirectory; // Directory
const char* fFile ; // Output file name
Int_t fEventMin; // Minimum event number
Int_t fEventMax; // Maximum event number
//____________________________________________________
-void AliTRDtrackerDebug::Draw(const Option_t *)
+void AliTRDtrackerDebug::Draw(Option_t *)
{
// steer draw function
}
}
//____________________________________________________
-TCanvas* AliTRDtrackerDebug::PlotSeedingConfiguration(Char_t *direction, Int_t event, Int_t candidate){
+TCanvas* AliTRDtrackerDebug::PlotSeedingConfiguration(const Char_t *direction, Int_t event, Int_t candidate){
//
// Plots the four seeding clusters, the helix fit and the reference Points for
// a given combination consisting of eventnr. and candidatenr.
}
//____________________________________________________
-TCanvas* AliTRDtrackerDebug::PlotFullTrackFit(Int_t event, Int_t candidate, Int_t iteration, Char_t *direction){
+TCanvas* AliTRDtrackerDebug::PlotFullTrackFit(Int_t event, Int_t candidate, Int_t iteration, const Char_t *direction){
//
// Plots the tracklets (clusters and reference in y direction) and the fitted function for several iterations
// in the function ImproveSeedQuality (default is before ImproveSeedQuality)
AliTRDtrackerDebug();
~AliTRDtrackerDebug();
- void Draw(const Option_t *);
+ void Draw(Option_t *);
Bool_t Init();
Bool_t Open(const char *method);
void AnalyseMinMax();
void AnalyseFindable(Char_t *treename);
- TCanvas* PlotSeedingConfiguration(Char_t *direction, Int_t event, Int_t Candidate);
- TCanvas* PlotFullTrackFit(Int_t event, Int_t candidate, Int_t iteration = -1, Char_t *direction = "y");
+ TCanvas* PlotSeedingConfiguration(const Char_t *direction, Int_t event, Int_t Candidate);
+ TCanvas* PlotFullTrackFit(Int_t event, Int_t candidate, Int_t iteration = -1, const Char_t *direction = "y");
static Int_t GetEventNumber(){ return fgEventNumber; }
static Int_t GetTrackNumber(){ return fgTrackNumber; }