]>
Commit | Line | Data |
---|---|---|
f05209ee | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
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 | ||
16 | /* $Id$ */ | |
17 | ||
18 | /////////////////////////////////////////////////////////////////////////////// | |
19 | // // | |
20 | // subsample of the object metadata, used to retrieve // | |
21 | // a stored database object: // | |
22 | // name="Detector/DBType/DetSpecType", run validity, version // | |
23 | // // | |
24 | /////////////////////////////////////////////////////////////////////////////// | |
25 | ||
26 | ||
27 | #include <TSystem.h> | |
28 | ||
29 | #include "AliSelectionMetaData.h" | |
30 | #include "AliMetaData.h" | |
31 | #include "AliLog.h" | |
32 | ||
33 | ||
34 | ClassImp(AliSelectionMetaData) | |
35 | ||
36 | ||
37 | //_____________________________________________________________________________ | |
38 | AliSelectionMetaData::AliSelectionMetaData() : | |
39 | AliMetaData() | |
40 | { | |
41 | // default constructor | |
42 | // the default values mean no selection | |
43 | } | |
44 | ||
45 | //_____________________________________________________________________________ | |
46 | AliSelectionMetaData::AliSelectionMetaData(const char* name, Int_t firstRun, Int_t lastRun, Int_t Version) : | |
47 | AliMetaData(name, firstRun, lastRun, Version) | |
48 | { | |
49 | // constructor | |
50 | } | |
51 | ||
52 | //_____________________________________________________________________________ | |
53 | AliSelectionMetaData::AliSelectionMetaData(const AliSelectionMetaData& entry) : | |
54 | AliMetaData(entry) | |
55 | { | |
56 | // copy constructor | |
57 | } | |
58 | ||
59 | //_____________________________________________________________________________ | |
60 | AliSelectionMetaData::AliSelectionMetaData(const AliMetaData& entry) : | |
61 | AliMetaData(entry) | |
62 | { | |
63 | // constructor of AliSelectionMetaData from AliMetaData | |
64 | } | |
65 | ||
66 | ||
67 | //_____________________________________________________________________________ | |
68 | AliSelectionMetaData& AliSelectionMetaData::operator = (const AliSelectionMetaData& entry) | |
69 | { | |
70 | // assignment operator | |
71 | fName = entry.fName, | |
72 | fFirstRun = entry.fFirstRun; | |
73 | fLastRun = entry.fLastRun; | |
74 | fVersion = entry.fVersion; | |
75 | return *this; | |
76 | } | |
77 |