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