]>
Commit | Line | Data |
---|---|---|
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 | |
d269b0e6 | 19 | #include "AliPhysicsSelection.h"\r |
7f7dd416 | 20 | #include "AlidNdPtBackgroundCuts.h"\r |
0aaa8b91 | 21 | #include "AlidNdPt.h"\r |
22 | \r | |
23 | using namespace std;\r | |
24 | \r | |
25 | ClassImp(AlidNdPt)\r | |
26 | \r | |
27 | //_____________________________________________________________________________\r | |
28 | AlidNdPt::AlidNdPt(): TNamed()\r | |
29 | , fdNdPtEventCuts(0)\r | |
30 | , fdNdPtAcceptanceCuts(0)\r | |
31 | , fEsdTrackCuts(0)\r | |
32 | , fUseMCInfo(kFALSE)\r | |
33 | , fAnalysisMode(AlidNdPtHelper::kTPC) \r | |
70fdd197 | 34 | , fTrigger(AliTriggerAnalysis::kMB1) \r |
985bdfd5 | 35 | , fTriggerClass(0) \r |
847e74b2 | 36 | , fParticleMode(AlidNdPtHelper::kAllPart) \r |
d269b0e6 | 37 | , fPhysicsSelection(0)\r |
7f7dd416 | 38 | , fdNdPtBackgroundCuts(0)\r |
0aaa8b91 | 39 | {\r |
40 | // default constructor\r | |
41 | }\r | |
42 | \r | |
43 | //_____________________________________________________________________________\r | |
44 | AlidNdPt::AlidNdPt(Char_t* name, Char_t* title): TNamed(name,title)\r | |
45 | , fdNdPtEventCuts(0)\r | |
46 | , fdNdPtAcceptanceCuts(0)\r | |
47 | , fEsdTrackCuts(0)\r | |
48 | , fUseMCInfo(kFALSE)\r | |
49 | , fAnalysisMode(AlidNdPtHelper::kTPC) \r | |
70fdd197 | 50 | , fTrigger(AliTriggerAnalysis::kMB1) \r |
985bdfd5 | 51 | , fTriggerClass(0) \r |
847e74b2 | 52 | , fParticleMode(AlidNdPtHelper::kAllPart) \r |
d269b0e6 | 53 | , fPhysicsSelection(0)\r |
7f7dd416 | 54 | , fdNdPtBackgroundCuts(0)\r |
0aaa8b91 | 55 | {\r |
56 | // constructor\r | |
57 | }\r | |
58 | \r | |
59 | //_____________________________________________________________________________\r | |
d269b0e6 | 60 | AlidNdPt::~AlidNdPt() {\r |
0aaa8b91 | 61 | // destructor\r |
62 | if(fdNdPtEventCuts) delete fdNdPtEventCuts; fdNdPtEventCuts=NULL; \r | |
63 | if(fdNdPtAcceptanceCuts) delete fdNdPtAcceptanceCuts; fdNdPtAcceptanceCuts=NULL;\r | |
64 | if(fEsdTrackCuts) delete fEsdTrackCuts; fEsdTrackCuts=NULL;\r | |
d269b0e6 | 65 | if(fPhysicsSelection) delete fPhysicsSelection; fPhysicsSelection=NULL;\r |
7f7dd416 | 66 | if(fdNdPtBackgroundCuts) delete fdNdPtBackgroundCuts; fdNdPtBackgroundCuts=NULL;\r |
0aaa8b91 | 67 | }\r |