ATLAS Offline Software
TgcPrepDataReplicationToolAllBCto3BC.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONTGC_CNVTOOLS_TGCPREPDATAREPLICATIONTOOLAllBCto3BC_H
6 #define MUONTGC_CNVTOOLS_TGCPREPDATAREPLICATIONTOOLAllBCto3BC_H
7 
10 #include "GaudiKernel/ServiceHandle.h"
11 
15 
16 namespace Muon
17 {
19  : public extends<AthAlgTool, ITgcPrepDataReplicationTool>
20  {
21  public:
23  TgcPrepDataReplicationToolAllBCto3BC(const std::string& t, const std::string& n, const IInterface* p);
24 
27 
28  virtual StatusCode initialize() override;
29  virtual StatusCode replicate(const EventContext& ctx) const override;
30  //Static to avoid code duplication with sister class
32  static TgcPrepData* makeTgcPrepData(const TgcPrepData* to_copy, uint16_t bcBitMap);
33 
34  private:
35  StatusCode convertAllBCto3BC(const EventContext& ctx) const;
36 
37  enum {BC_PREVIOUS=0, BC_CURRENT, BC_NEXT, BC_ALL, BC_NUM};
38 
39  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
40 
41  SG::WriteHandleKeyArray<TgcPrepDataContainer> m_3BCKeys{this, "BC3Keys", {"dummy","dummy","dummy"}};
42  SG::ReadHandleKey<TgcPrepDataContainer> m_AllBCKey{this, "AllBCKey", "TGC_MeasurementsAllBCs"};
43 
44 
45 
46 
47  };
48 } // end of namespace
49 
50 #endif // MUONTGC_CNVTOOLS_TGCPREPDATAREPLICATIONTOOLAllBCto3BC_H
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
initialize
void initialize()
Definition: run_EoverP.cxx:894
Muon::TgcPrepDataReplicationToolAllBCto3BC::~TgcPrepDataReplicationToolAllBCto3BC
virtual ~TgcPrepDataReplicationToolAllBCto3BC()=default
Destructor.
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ITgcPrepDataReplicationTool.h
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:45
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
python.MuonRdoDecodeConfig.TgcPrepDataReplicationToolAllBCto3BC
def TgcPrepDataReplicationToolAllBCto3BC(flags, name="TgcPrepDataAllBCto3BCTool", **kwargs)
Definition: MuonRdoDecodeConfig.py:169
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TgcPrepDataContainer.h
AthAlgTool.h
Muon::TgcPrepData
Class to represent TGC measurements.
Definition: TgcPrepData.h:32
Muon::TgcPrepDataReplicationToolAllBCto3BC
Definition: TgcPrepDataReplicationToolAllBCto3BC.h:20
checker_macros.h
Define macros for attributes used to control the static checker.
IMuonIdHelperSvc.h
ServiceHandle< Muon::IMuonIdHelperSvc >