2 /**************************************************************************
3 * This file is property of and copyright by the ALICE HLT Project *
4 * All rights reserved. *
6 * Primary Authors: Oystein Djuvsland *
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 **************************************************************************/
17 #ifndef ALIHLTESDCALOCLUSTERMAKER_H
18 #define ALIHLTESDCALOCLUSTERMAKER_H
23 * @file AliHLTESDCaloClusterMaker.h
24 * @author Oystein Djuvsland
26 * @brief ESD writer for HLT
29 // see header file for class documentation
31 // refer to README to build package
33 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
36 class AliHLTCaloClusterHeaderStruct;
37 class AliHLTCaloClusterReader;
39 class AliESDCaloCluster;
42 * @class AliHLTESDCaloClusterMaker
43 * Makes ESD Clusters out of AliHLTCaloClusterDataStructs
44 * @ingroup alihlt_phos
47 class AliHLTESDCaloClusterMaker
54 AliHLTESDCaloClusterMaker();
57 virtual ~AliHLTESDCaloClusterMaker();
59 /** Copy constructor */
60 AliHLTESDCaloClusterMaker(const AliHLTESDCaloClusterMaker &) :
63 //Copy constructor not implemented
67 AliHLTESDCaloClusterMaker & operator = (const AliHLTESDCaloClusterMaker)
74 * Convert AliHLTCaloClusterDataStruct clusters and fill an ESDEvent object with
75 * AliESDCaloCluster clusters
76 * @return number of clusters converted and filled
78 Int_t FillESD(AliESDEvent *esdPtr, const AliHLTCaloClusterHeaderStruct *clusterHeader);
82 /* The cluster struct reader */
83 AliHLTCaloClusterReader* fClusterReaderPtr; // !transient The reader
85 ClassDef(AliHLTESDCaloClusterMaker, 0);