]>
Commit | Line | Data |
---|---|---|
87434909 | 1 | |
2 | /************************************************************************** | |
3 | * This file is property of and copyright by the ALICE HLT Project * | |
4 | * All rights reserved. * | |
5 | * * | |
6 | * Primary Authors: Oystein Djuvsland * | |
7 | * * | |
8 | * Permission to use, copy, modify and distribute this software and its * | |
9 | * documentation strictly for non-commercial purposes is hereby granted * | |
10 | * without fee, provided that the above copyright notice appears in all * | |
11 | * copies and that both the copyright notice and this permission notice * | |
12 | * appear in the supporting documentation. The authors make no claims * | |
13 | * about the suitability of this software for any purpose. It is * | |
14 | * provided "as is" without express or implied warranty. * | |
15 | **************************************************************************/ | |
16 | ||
7fc04b67 | 17 | #ifndef ALIHLTESDCALOCLUSTERMAKER_H |
18 | #define ALIHLTESDCALOCLUSTERMAKER_H | |
87434909 | 19 | |
20 | /** | |
21 | * Class writes ESDs | |
22 | * | |
7fc04b67 | 23 | * @file AliHLTESDCaloClusterMaker.h |
87434909 | 24 | * @author Oystein Djuvsland |
25 | * @date | |
7fc04b67 | 26 | * @brief ESD writer for HLT |
87434909 | 27 | */ |
28 | ||
29 | // see header file for class documentation | |
30 | // or | |
31 | // refer to README to build package | |
32 | // or | |
33 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
34 | ||
7fc04b67 | 35 | class AliESDEvent; |
36 | class AliHLTCaloClusterHeaderStruct; | |
37 | class AliHLTCaloClusterReader; | |
87434909 | 38 | class TClonesArray; |
39 | class AliESDCaloCluster; | |
40 | ||
41 | /** | |
7fc04b67 | 42 | * @class AliHLTESDCaloClusterMaker |
43 | * Makes ESD Clusters out of AliHLTCaloClusterDataStructs | |
87434909 | 44 | * @ingroup alihlt_phos |
45 | */ | |
46 | ||
7fc04b67 | 47 | class AliHLTESDCaloClusterMaker |
87434909 | 48 | { |
49 | ||
50 | public: | |
51 | ||
52 | ||
53 | /** Constructor */ | |
7fc04b67 | 54 | AliHLTESDCaloClusterMaker(); |
87434909 | 55 | |
56 | /** Destructor */ | |
7fc04b67 | 57 | virtual ~AliHLTESDCaloClusterMaker(); |
87434909 | 58 | |
59 | /** Copy constructor */ | |
7fc04b67 | 60 | AliHLTESDCaloClusterMaker(const AliHLTESDCaloClusterMaker &) : |
61 | fClusterReaderPtr(0) | |
87434909 | 62 | { |
63 | //Copy constructor not implemented | |
64 | } | |
65 | ||
66 | /** Assignment */ | |
7fc04b67 | 67 | AliHLTESDCaloClusterMaker & operator = (const AliHLTESDCaloClusterMaker) |
87434909 | 68 | { |
69 | //Assignment | |
70 | return *this; | |
71 | } | |
72 | ||
7fc04b67 | 73 | /** |
74 | * Convert AliHLTCaloClusterDataStruct clusters and fill an ESDEvent object with | |
75 | * AliESDCaloCluster clusters | |
76 | * @return number of clusters converted and filled | |
87434909 | 77 | */ |
7fc04b67 | 78 | Int_t FillESD(AliESDEvent *esdPtr, const AliHLTCaloClusterHeaderStruct *clusterHeader); |
87434909 | 79 | |
80 | private: | |
87434909 | 81 | |
7fc04b67 | 82 | /* The cluster struct reader */ |
83 | AliHLTCaloClusterReader* fClusterReaderPtr; // !transient The reader | |
87434909 | 84 | |
7fc04b67 | 85 | ClassDef(AliHLTESDCaloClusterMaker, 0); |
87434909 | 86 | }; |
87 | ||
88 | #endif |