2 // $Id: AliHLTJETReaderHeader.cxx $
3 /**************************************************************************
4 * This file is property of and copyright by the ALICE HLT Project *
5 * ALICE Experiment at CERN, All rights reserved. *
7 * Primary Authors: Jochen Thaeder <thaeder@kip.uni-heidelberg.de> *
8 * for The ALICE HLT Project. *
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 **************************************************************************/
19 /** @file AliHLTJETReaderHeader.cxx
20 @author Jochen Thaeder
22 @brief ReaderHeader for jet finder
25 // see header file for class documentation
27 // refer to README to build package
29 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
35 #include "AliHLTJETReaderHeader.h"
36 #include "AliHLTJETTrackCuts.h"
38 /** ROOT macro for the implementation of ROOT specific class methods */
39 ClassImp(AliHLTJETReaderHeader)
42 * ---------------------------------------------------------------------------------
43 * Constructor / Destructor
44 * ---------------------------------------------------------------------------------
47 // #################################################################################
48 AliHLTJETReaderHeader::AliHLTJETReaderHeader()
50 AliJetReaderHeader("AliHLTJETReaderHeader"),
58 // see header file for class documentation
60 // refer to README to build package
62 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
66 // #################################################################################
67 AliHLTJETReaderHeader::~AliHLTJETReaderHeader() {
68 // see header file for class documentation
73 * ---------------------------------------------------------------------------------
75 * ---------------------------------------------------------------------------------
78 // #################################################################################
79 Int_t AliHLTJETReaderHeader::Initialize() {
80 // see header file for class documentation
84 // -- Set eta and phi range for grid
85 fGridPhiRange = fFiducialPhiMin +
86 fFiducialPhiMax + ( 2.0 * fConeRadius );
88 fGridEtaRange = TMath::Abs( fFiducialEtaMin ) + fFiducialEtaMax;
90 HLTInfo(" -= ReaderHeader =- ");
91 HLTInfo(" Cone radius %f", fConeRadius );
92 HLTInfo(" Grid eta binning %f", fGridEtaBinning );
93 HLTInfo(" Grid phi binning %f", fGridPhiBinning );
94 HLTInfo(" Grid eta range %f", fGridEtaRange );
95 HLTInfo(" Grid phi range %f", fGridPhiRange );
98 HLTError("No track cuts set in reader header");
99 iResult = -EINPROGRESS;
102 fTrackCuts->SetEtaRange( fFiducialEtaMin, fFiducialEtaMax );
103 fTrackCuts->SetPhiRange( fFiducialPhiMin, fFiducialPhiMax );
104 HLTInfo(" -= TrackCuts =- " );