]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSPhysicsAnalyzerSpectrum.h
removing obsolete classes from build system
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSPhysicsAnalyzerSpectrum.h
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 /** 
20  * @file   AliHLTPHOSPhysicsAnalyzerSpectrum.h
21  * @author Oystein Djuvsland
22  * @date 
23  * @brief  Invariant mass spectrum from 2 gammas  */
24
25 // see below for class documentation
26 // or
27 // refer to README to build package
28 // or
29 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
30
31 #ifndef ALIHLTPHOSPHYSICSANALYZERSPECTRUM_H
32 #define ALIHLTPHOSPHYSICSANALYZERSPECTRUM_H
33
34 #include "AliHLTPHOSPhysicsAnalyzer.h"
35 #include "Rtypes.h"
36
37 class AliHLTPHOSRecPointContainerStruct;
38
39
40 /**
41  * @class AliHLTPHOSPhysicsAnalyzerSpectrum
42  * Invariant mass spectrum from 2 gammas
43  * @ingroup alihlt_phos
44  */
45
46 class AliHLTPHOSPhysicsAnalyzerSpectrum : public AliHLTPHOSPhysicsAnalyzer
47 {
48  public:
49
50   /** Constructor */
51   AliHLTPHOSPhysicsAnalyzerSpectrum();
52
53   /** Copy constructor */
54   AliHLTPHOSPhysicsAnalyzerSpectrum(const AliHLTPHOSPhysicsAnalyzerSpectrum &);
55
56   /** Assignment */
57   AliHLTPHOSPhysicsAnalyzerSpectrum & operator = (const AliHLTPHOSPhysicsAnalyzerSpectrum)
58     {
59       //Assignment
60       return *this; 
61     }
62
63
64   /** Destructor */
65   virtual ~AliHLTPHOSPhysicsAnalyzerSpectrum();
66
67   /** Set the threshold for the 2 photon energies */
68   Int_t SetThreshold(Float_t photonEnergy0, Float_t photonEnergy1);
69
70   /** 
71    * Evaluate the distance between 2 rec points
72    * @return the distance
73    */
74   Float_t EvalDistance();
75  
76
77   /** 
78    * Analyze the event 
79    * @param recPointsArrayPtr is an array of rec points in the event
80    * @param nRecPoints is the number of rec points in the event
81    */
82     virtual void Analyze(AliHLTPHOSRecPointContainerStruct* recPointsArrayPtr, Int_t nRecPoints);
83
84  private:
85   /** Position of the first cluster */
86   Float_t* fPos0Ptr;                        //! transient
87
88   /** Position of the second cluster */
89   Float_t* fPos1Ptr;                        //! transient
90
91   /** Cut thresholds */
92   Float_t* fThresholdPtr;                   //! transient
93
94   /** Energy of the clusters */
95   Float_t* fEnergyPtr;                      //! transient
96
97   ClassDef(AliHLTPHOSPhysicsAnalyzerSpectrum, 1);
98   
99 };
100
101 #endif
102