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