00001
00002
00003
00004
00005 #ifndef ATLFAST_CELLMAKER_H
00006 #define ATLFAST_CELLMAKER_H
00007
00008 #include <string>
00009
00010
00011 #include "GaudiKernel/Algorithm.h"
00012
00013
00014 namespace HepMC_helper{
00015 class IMCselector;
00016 }
00017
00018
00019
00020
00021 #define DEFAULT_inputLocation "/Event/McEventCollection"
00022 #define DEFAULT_outputLocation "/Event/AtlfastCells"
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 #define DEFAULT_etaCoverage 5.0
00033 #define DEFAULT_minETCell 0.0
00034
00035 #define DEFAULT_granBarrelEta 0.1
00036 #define DEFAULT_granBarrelPhi 0.1
00037 #define DEFAULT_granForwardEta 0.2
00038 #define DEFAULT_granForwardPhi 0.2
00039
00040 class ISvcLocator;
00041
00042 namespace Atlfast {
00043 class Calorimeter;
00044 class MagField;
00045 class TesIO;
00046 class ICellSelector;
00054 class CellMaker : public Algorithm {
00055
00056 public:
00057
00059 CellMaker(const std::string& name, ISvcLocator* pSvcLocator);
00061 ~CellMaker();
00062
00064 StatusCode initialize();
00066 StatusCode execute();
00068
00069 StatusCode finalize();
00070
00071 private:
00073 Calorimeter* m_calorimeter;
00076 MagField* m_magField;
00079 ICellSelector* m_cellSelector;
00082 HepMC_helper::IMCselector* m_mcSelector;
00083
00084
00086 double m_etaCoverage;
00087
00089 double m_minETCell;
00091 double m_barrelForwardEta;
00093 bool m_fieldOn;
00094
00095
00099
00101 double m_granBarrelEta;
00103 double m_granBarrelPhi;
00105 double m_granForwardEta;
00107 double m_granForwardPhi;
00108
00109
00110
00111
00112
00113
00115 std::string m_inputLocation;
00117 std::string m_outputLocation;
00118
00119 TesIO* m_tesIO;
00120
00121 };
00122
00123 }
00124 #endif
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142