]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/CALO/AliHLTCaloClusterizerNbyN.h
Add switch for tail cancelation
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloClusterizerNbyN.h
1
2 /**************************************************************************
3  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  *                                                                        *
5  * Authors: Oystein Djuvsland <oysteind@ift.uib.no>                       *
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
17 #ifndef ALIHLTCALOCLUSTERIZERNBYN_H
18 #define ALIHLTCALOCLUSTERIZERNBYN_H
19
20 #include "AliHLTCaloClusterizer.h"
21
22
23 /**
24  * Class does clusterization in for Calorimeters on an event basis. It is intended 
25  * for use in HLT, but can also be used offline. It uses the static N by N method
26  *
27  * @file   AliHLTCaloClusterizerNbyN.h
28  * @author Oystein Djuvsland
29  * @date
30  * @brief  Clusterizer for CALO HLT
31  */
32
33 class AliHLTCaloClusterizerNbyN : public AliHLTCaloClusterizer
34 {
35
36 public:
37    
38    /** Constructor */ 
39    AliHLTCaloClusterizerNbyN(TString det);
40     
41    /** Destrucotr */
42     virtual ~AliHLTCaloClusterizerNbyN();
43    
44    /** Clusterize the event */
45     virtual Int_t ClusterizeEvent(Int_t nDigits);
46
47     /** set the dimension of the grid */
48     void SetGridDimension(Int_t n) { fN = n; }
49     
50    private:
51       
52       /** The "N" in N by N clustering */
53       Int_t fN; // See above
54      /** Default constructor, prohibited */
55   AliHLTCaloClusterizerNbyN();                          // COMMENT
56   
57   /** Copy constructor, prohibited */
58   AliHLTCaloClusterizerNbyN (const AliHLTCaloClusterizerNbyN &); //COMMENT
59   
60   /** Assignment operator, prohibited */
61   AliHLTCaloClusterizerNbyN & operator = (const AliHLTCaloClusterizerNbyN &); //COMMENT
62
63
64 };
65
66 #endif // ALIHLTCALOCLUSTERIZERNBYN_H