dNdPt analysis
[u/mrichter/AliRoot.git] / PWG0 / dNdPt / AlidNdPt.cxx
CommitLineData
0aaa8b91 1/**************************************************************************\r
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
3 * *\r
4 * Author: The ALICE Off-line Project. *\r
5 * Contributors are mentioned in the code where appropriate. *\r
6 * *\r
7 * Permission to use, copy, modify and distribute this software and its *\r
8 * documentation strictly for non-commercial purposes is hereby granted *\r
9 * without fee, provided that the above copyright notice appears in all *\r
10 * copies and that both the copyright notice and this permission notice *\r
11 * appear in the supporting documentation. The authors make no claims *\r
12 * about the suitability of this software for any purpose. It is *\r
13 * provided "as is" without express or implied warranty. *\r
14 **************************************************************************/\r
15\r
16#include "AliESDtrackCuts.h" \r
17#include "AlidNdPtEventCuts.h"\r
18#include "AlidNdPtAcceptanceCuts.h"\r
19#include "AlidNdPt.h"\r
20\r
21using namespace std;\r
22\r
23ClassImp(AlidNdPt)\r
24\r
25//_____________________________________________________________________________\r
26AlidNdPt::AlidNdPt(): TNamed()\r
27, fdNdPtEventCuts(0)\r
28, fdNdPtAcceptanceCuts(0)\r
29, fEsdTrackCuts(0)\r
30, fUseMCInfo(kFALSE)\r
31, fAnalysisMode(AlidNdPtHelper::kTPC) \r
32, fTrigger(AlidNdPtHelper::kMB1) \r
33{\r
34 // default constructor\r
35}\r
36\r
37//_____________________________________________________________________________\r
38AlidNdPt::AlidNdPt(Char_t* name, Char_t* title): TNamed(name,title)\r
39, fdNdPtEventCuts(0)\r
40, fdNdPtAcceptanceCuts(0)\r
41, fEsdTrackCuts(0)\r
42, fUseMCInfo(kFALSE)\r
43, fAnalysisMode(AlidNdPtHelper::kTPC) \r
44, fTrigger(AlidNdPtHelper::kMB1) \r
45{\r
46 // constructor\r
47}\r
48\r
49//_____________________________________________________________________________\r
50AlidNdPt::~AlidNdPt(){\r
51 // destructor\r
52 if(fdNdPtEventCuts) delete fdNdPtEventCuts; fdNdPtEventCuts=NULL; \r
53 if(fdNdPtAcceptanceCuts) delete fdNdPtAcceptanceCuts; fdNdPtAcceptanceCuts=NULL;\r
54 if(fEsdTrackCuts) delete fEsdTrackCuts; fEsdTrackCuts=NULL;\r
55}\r