ATLAS Offline Software
CBNT_CaloH6.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //######################################################
6 //# #
7 //# File : CBNT_Calo_H6.h #
8 //# Package: TBRec #
9 //# #
10 //# Author : Marco Bieri <mbieri@sfu.ca> #
11 //# Adopted for CBNTAA Pavol Strizenec #
12 //# #
13 //######################################################
14 
15 #ifndef TBREC_CBNT_CALOH6_H
16 #define TBREC_CBNT_CALOH6_H
17 
18 #include "GaudiKernel/ToolHandle.h"
19 #include "CBNT_TBRecBase.h"
20 
22 #include "CaloIdentifier/CaloID.h"
23 // #include "LArDetDescr/LArDetDescrManager.h"
24 
25 // NOISE
28 
29 #include <fstream>
30 #include <string>
31 #include <vector>
32 
34 {
35  public:
36  CBNT_CaloH6(const std::string & name, ISvcLocator * pSvcLocator);
37 
38  virtual ~CBNT_CaloH6();
39 
40  //standart algorithm methods
41  virtual StatusCode CBNT_initialize() override;
42  virtual StatusCode CBNT_execute() override;
43  virtual StatusCode CBNT_finalize() override;
44  virtual StatusCode CBNT_clear() override;
45 
46  private:
47  // LArDetDescrManager* m_larMgr;
48 
49  // Identifier Pointers
53 
55  { this, "ElecNoiseKey", "electronicNoise", "SG key for electronic noise" };
56 
57  float m_noiseSigma;
58 
59  // picking detector and number of channels
60  std::string m_det_type;
61  int m_numchan;
62 
63  /*-------------------Ntuple--------------------------------*/
64 
65  std::vector<float> *m_energy;
66  std::vector<float> *m_NoiseRMS;
67  std::vector<float> *m_ieta;
68  std::vector<float> *m_iphi;
69  std::vector<float> *m_eta;
70  std::vector<float> *m_phi;
71  std::vector<float> *m_sampling;
72  std::vector<float> *m_region;
73 
74 };
75 #endif
CBNT_CaloH6::CBNT_finalize
virtual StatusCode CBNT_finalize() override
Definition: CBNT_CaloH6.cxx:179
CBNT_CaloH6::m_det_type
std::string m_det_type
Definition: CBNT_CaloH6.h:60
CBNT_CaloH6::m_NoiseRMS
std::vector< float > * m_NoiseRMS
Definition: CBNT_CaloH6.h:66
CBNT_CaloH6::CBNT_clear
virtual StatusCode CBNT_clear() override
Definition: CBNT_CaloH6.cxx:186
CBNT_CaloH6::m_eta
std::vector< float > * m_eta
Definition: CBNT_CaloH6.h:69
CBNT_TBRecBase.h
CBNT_CaloH6::m_noiseSigma
float m_noiseSigma
Definition: CBNT_CaloH6.h:57
CaloID.h
CBNT_CaloH6::m_hecID_help
const LArHEC_ID * m_hecID_help
Definition: CBNT_CaloH6.h:51
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition: LArHEC_ID.h:85
CBNT_CaloH6::m_phi
std::vector< float > * m_phi
Definition: CBNT_CaloH6.h:70
CBNT_CaloH6::CBNT_CaloH6
CBNT_CaloH6(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CBNT_CaloH6.cxx:24
CBNT_CaloH6::m_elecNoiseKey
SG::ReadCondHandleKey< CaloNoise > m_elecNoiseKey
Definition: CBNT_CaloH6.h:55
CBNT_CaloH6::m_fcalID_help
const LArFCAL_ID * m_fcalID_help
Definition: CBNT_CaloH6.h:52
CBNT_CaloH6::m_energy
std::vector< float > * m_energy
Definition: CBNT_CaloH6.h:65
CBNT_CaloH6::~CBNT_CaloH6
virtual ~CBNT_CaloH6()
Definition: CBNT_CaloH6.cxx:44
CBNT_CaloH6::CBNT_initialize
virtual StatusCode CBNT_initialize() override
Definition: CBNT_CaloH6.cxx:46
CBNT_CaloH6::m_emecID_help
const LArEM_ID * m_emecID_help
Definition: CBNT_CaloH6.h:50
CBNT_CaloH6::m_numchan
int m_numchan
Definition: CBNT_CaloH6.h:61
CBNT_TBRecBase
Definition: CBNT_TBRecBase.h:21
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadCondHandleKey.h
CBNT_CaloH6::m_ieta
std::vector< float > * m_ieta
Definition: CBNT_CaloH6.h:67
CBNT_CaloH6
Definition: CBNT_CaloH6.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
CaloNoise.h
CaloCellContainer.h
SG::ReadCondHandleKey< CaloNoise >
CBNT_CaloH6::m_region
std::vector< float > * m_region
Definition: CBNT_CaloH6.h:72
CBNT_CaloH6::m_sampling
std::vector< float > * m_sampling
Definition: CBNT_CaloH6.h:71
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition: LArFCAL_ID.h:60
CBNT_CaloH6::m_iphi
std::vector< float > * m_iphi
Definition: CBNT_CaloH6.h:68
CBNT_CaloH6::CBNT_execute
virtual StatusCode CBNT_execute() override
Definition: CBNT_CaloH6.cxx:103