ATLAS Offline Software
TileLookForMuAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //****************************************************************************
6 // Filename : TileLookForMuAlg.h
7 // Author : G Usai
8 // Created : Jun 2003
9 //
10 // DESCRIPTION
11 //
12 //
13 // Properties (JobOption Parameters):
14 //
15 //
16 // BUGS:
17 //
18 // History:
19 //
20 //
21 //****************************************************************************
22 #ifndef TILEMUID_TILELOOKFORMUALG_H
23 #define TILEMUID_TILELOOKFORMUALG_H
24 
25 // Tile includes
27 
28 // Calo includes
30 
31 // Athena includes
35 
36 // C++ STL includes
37 #include <vector>
38 #include <string>
39 
40 //Forward declaration
41 class TileID;
42 
44  public:
45  // constructor
46  TileLookForMuAlg(const std::string& name, ISvcLocator* pSvcLocator);
47  // destructor
48  virtual ~TileLookForMuAlg();
49 
50  virtual StatusCode initialize() override;
51  virtual StatusCode execute (const EventContext& ctx) const override;
52  virtual StatusCode finalize() override;
53 
54 
55  //static std::string TileLookForMuAlg_stream;
56 
57  private:
58 
59  const TileID* m_tileID;
60 
61  // define a numeration scheme for the cells
62  enum N_CELLS_SAMP {
63  N_CELLS_D = 13, N_CELLS_BC = 30, N_CELLS_A = 30
64  };
65  enum N_OF_MODULES {
66  N_MODULES = 64
67  };
68  double m_etaD[N_CELLS_D];
70  double m_etaA[N_CELLS_A];
71  const int m_nMuMax;
72  // and patterns search from D to BC and from BC to A layers
73  std::vector<int> m_fromDtoBC;
74  std::vector<int> m_fromBCtoA;
75  // std::map<double,unsigned int> eta2map
76  // lower thresholds for the 3 sample
77  double m_loThrA;
78  double m_loThrBC;
79  double m_loThrD;
80  double m_loThrITC;
81  // std::vector<double> hiThrD;
82  std::vector<double> m_hiThrD;
83  std::vector<double> m_hiThrBC;
84  std::vector<double> m_hiThrA;
85 
87  "AllCalo",
88  "Input Calo cell container key"};
89 
91  "TileMuObj",
92  "Output Tile mu container key"};
93 
94 
95 };
96 #endif // TILEMUID_TILELOOKFORMUALG_H
TileLookForMuAlg
Definition: TileLookForMuAlg.h:43
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TileLookForMuAlg::m_fromDtoBC
std::vector< int > m_fromDtoBC
Definition: TileLookForMuAlg.h:73
TileLookForMuAlg::m_loThrA
double m_loThrA
Definition: TileLookForMuAlg.h:77
TileLookForMuAlg::m_nMuMax
const int m_nMuMax
Definition: TileLookForMuAlg.h:71
TileLookForMuAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: TileLookForMuAlg.cxx:103
TileLookForMuAlg::m_loThrBC
double m_loThrBC
Definition: TileLookForMuAlg.h:78
TileLookForMuAlg::m_etaA
double m_etaA[N_CELLS_A]
Definition: TileLookForMuAlg.h:70
TileLookForMuAlg::m_etaD
double m_etaD[N_CELLS_D]
Definition: TileLookForMuAlg.h:68
TileLookForMuAlg::m_etaBC
double m_etaBC[N_CELLS_BC]
Definition: TileLookForMuAlg.h:69
TileLookForMuAlg::m_fromBCtoA
std::vector< int > m_fromBCtoA
Definition: TileLookForMuAlg.h:74
SG::ReadHandleKey< CaloCellContainer >
TileLookForMuAlg::N_CELLS_BC
@ N_CELLS_BC
Definition: TileLookForMuAlg.h:63
TileLookForMuAlg::TileLookForMuAlg
TileLookForMuAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TileLookForMuAlg.cxx:28
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TileLookForMuAlg::N_CELLS_SAMP
N_CELLS_SAMP
Definition: TileLookForMuAlg.h:62
TileLookForMuAlg::N_MODULES
@ N_MODULES
Definition: TileLookForMuAlg.h:66
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
TileLookForMuAlg::initialize
virtual StatusCode initialize() override
Definition: TileLookForMuAlg.cxx:55
TileLookForMuAlg::finalize
virtual StatusCode finalize() override
Definition: TileLookForMuAlg.cxx:436
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileLookForMuAlg::m_tileID
const TileID * m_tileID
Definition: TileLookForMuAlg.h:59
TileLookForMuAlg::m_hiThrA
std::vector< double > m_hiThrA
Definition: TileLookForMuAlg.h:84
TileLookForMuAlg::N_CELLS_A
@ N_CELLS_A
Definition: TileLookForMuAlg.h:63
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TileLookForMuAlg::N_CELLS_D
@ N_CELLS_D
Definition: TileLookForMuAlg.h:63
TileLookForMuAlg::m_cellContainerKey
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Definition: TileLookForMuAlg.h:86
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
CaloCellContainer.h
TileLookForMuAlg::m_hiThrD
std::vector< double > m_hiThrD
Definition: TileLookForMuAlg.h:82
TileLookForMuAlg::m_muContainerKey
SG::WriteHandleKey< TileMuContainer > m_muContainerKey
Definition: TileLookForMuAlg.h:90
TileLookForMuAlg::m_loThrITC
double m_loThrITC
Definition: TileLookForMuAlg.h:80
TileLookForMuAlg::N_OF_MODULES
N_OF_MODULES
Definition: TileLookForMuAlg.h:65
TileLookForMuAlg::~TileLookForMuAlg
virtual ~TileLookForMuAlg()
Definition: TileLookForMuAlg.cxx:49
TileContainer.h
TileLookForMuAlg::m_loThrD
double m_loThrD
Definition: TileLookForMuAlg.h:79
TileLookForMuAlg::m_hiThrBC
std::vector< double > m_hiThrBC
Definition: TileLookForMuAlg.h:83