AliPhysics  aaf9c62 (aaf9c62)
AliAnaConvCorrPion.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * This file is property of and copyright by the ALICE HLT Project *
3  * ALICE Experiment at CERN, All rights reserved. *
4  * *
5  * Primary Author: Svein Lindal <slindal@fys.uio.no> *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 
19 
20 
21 
22 #include "TH2D.h"
23 #include "AliAnaConvCorrPion.h"
24 //#include "AliAODTrack.h"
26 
27 
28 
29 
30 using namespace std;
31 ClassImp(AliAnaConvCorrPion)
32 
33 //________________________________________________________________________________
35 AliAnaConvCorrBase("pion_hadron_corr", "Pion dPhi"),
36 //hTriggerPtvsMass(NULL),
37  hTriggerPtvsMass(NULL),
38  fAxisM()
39 {
40  //consctructor
41  InitMassAxis();
42 }
43 //________________________________________________________________________________
46  //hTriggerPtvsMass(NULL),
47  hTriggerPtvsMass(NULL),
48  fAxisM()
49 {
50  //consctructor
51  InitMassAxis();
52 }
53 
54 
55 //________________________________________________________________________________
57  //destructor
58 }
59 
60 //________________________________________________________________________________
62  Double_t mbins[7] = {0.1, 0.11, 0.12, 0.15, 0.16, 0.18, 0.2};
63  fAxisM.Set(6, mbins);
64  fAxisM.SetNameTitle("InvMass", "invariant mass");
65  GetAxisList().AddAt(&fAxisM, 6);
66  GetTrackAxisList().AddAt(&fAxisM, 5);
67  GetTrigAxisList().AddAt(&fAxisM, 4);
68 }
69 
72  //Create histograms
74 
75  hTriggerPtvsMass = new TH2D(Form("hTriggerPtvsMass_all_%s", GetName()), "Pt vs Mass all pizero",
76  400, 0, .400, GetAxistPt().GetNbins(), GetAxistPt().GetXbins()->GetArray());
78 }
79 
80 
83  hTriggerPtvsMass->Fill(particle->M(), particle->Pt());
84 }
85 
double Double_t
Definition: External.C:58
const char * title
Definition: MakeQAPdf.C:27
TList * GetHistograms() const
void FillTriggerCounters(const AliAODConversionParticle *particle)
Definition: External.C:228
Class used to find correlations between pions and charged tracks.