1 //**************************************************************************
2 //* This file is property of and copyright by the ALICE HLT Project *
3 //* ALICE Experiment at CERN, All rights reserved. *
5 //* Primary Authors: leonidas.xaplanteris@gmail.com *
6 //* for The ALICE HLT Project. *
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 ALIHLTTRIGGERFASTJET_H
18 #define ALIHLTTRIGGERFASTJET_H
20 #include "TObjArray.h"
21 #include "AliHLTTrigger.h"
22 #include "AliESDtrackCuts.h"
23 #include "AliHLTScalars.h"
24 //#include "AliFJWrapper.h"
26 class AliHLTCaloClusterReader;
32 class AliHLTTriggerFastJet : public AliHLTTrigger
36 AliHLTTriggerFastJet();
37 ~AliHLTTriggerFastJet();
40 AliHLTComponent* Spawn();
42 // inherited from AliHLTTrigger : name of this trigger
43 const char* GetTriggerName() const;
45 // inherited from AliHLTComponent : get list of OCDB objects
46 void GetOCDBObjectDescription( TMap* const targetMap);
49 // inherited from AliHLTComponent: initialization
50 int DoInit(int argc, const char** argv);
52 // inherited from AliHLTComponent: de-initialization
55 // inherited from AliHLTComponent: re-configuration
56 int Reconfigure(const char* cdbEntry, const char* chainId);
58 // inherited from AliHLTComponent: scan one argument and its parameters
59 int ScanConfigurationArgument(int argc, const char** argv);
61 // inherited from AliHLTTrigger: returns the output data types generated from this component
62 void GetOutputDataTypes(AliHLTComponentDataTypeList &list) const;
64 // inherited from AliHLTTrigger: Get a ratio by how much the data volume is shrunken or enhanced.
65 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
67 // inherited from AliHLTTrigger: calculate the trigger
71 TObjArray *GetTPCTracks(AliESDEvent *fESD);
73 // check if cluster fullfills criteria and if so trigger
75 Bool_t TriggerOnJet(T Jet);
77 // threshold jet energy to trigger on
80 // the detector string (PHOS or EMCAL)
81 const TString fDetector;
84 AliFJWrapper *fFastJetWrapper;
86 // the default configuration entry for this component
87 const char* fOCDBEntry; //!transient
89 // track cuts to get tpc tracks
90 AliESDtrackCuts *EsdTrackCuts;
92 // flag to make statistics for histograming using AliHLTScalars
96 // AliHLTScalars scalars;
98 // offset for calo tracks
103 // copy constructor prohibited
104 AliHLTTriggerFastJet(const AliHLTTriggerFastJet & );
106 // assignment operator prohibited
107 AliHLTTriggerFastJet& operator=(const AliHLTTriggerFastJet &);
109 ClassDef(AliHLTTriggerFastJet, 0)
112 #endif //ALIHLTTRIGGERFASTJET_H