ATLAS Offline Software
MuonChamberIDSelector.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 MUONCHAMBERIDSELECTOR_H
6 #define MUONCHAMBERIDSELECTOR_H
7 
8 #include <sstream>
9 #include <string>
10 #include <vector>
11 
13 #include "GaudiKernel/ServiceHandle.h"
15 
17 public:
18  MuonChamberIDSelector(const std::string& name, ISvcLocator* pSvcLocator);
19  virtual ~MuonChamberIDSelector() = default;
20  // Basic algorithm methods:
21  virtual StatusCode initialize();
22  virtual StatusCode execute();
23 
27  StatusCode selectTGC() { return StatusCode::SUCCESS; }
28  StatusCode selectCSC() { return StatusCode::SUCCESS; }
29 
30 private:
31  ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
32  std::vector<Identifier>* m_mdtchambersId;
33  std::vector<Identifier>* m_rpcchambersId;
34 };
35 
36 #endif
MuonChamberIDSelector::selectCSC
StatusCode selectCSC()
selects the CSCcollections
Definition: MuonChamberIDSelector.h:28
MuonChamberIDSelector::~MuonChamberIDSelector
virtual ~MuonChamberIDSelector()=default
MuonChamberIDSelector::selectRPC
StatusCode selectRPC()
selects the RPCcollections
Definition: MuonChamberIDSelector.cxx:68
MuonChamberIDSelector::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: MuonChamberIDSelector.h:31
MuonChamberIDSelector
Definition: MuonChamberIDSelector.h:16
MuonChamberIDSelector::ChamberperformSelection
StatusCode ChamberperformSelection()
Definition: MuonChamberIDSelector.cxx:32
AthAlgorithm.h
MuonChamberIDSelector::MuonChamberIDSelector
MuonChamberIDSelector(const std::string &name, ISvcLocator *pSvcLocator)
Athena algorithm constructor.
Definition: MuonChamberIDSelector.cxx:12
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition: AthAlgorithm.h:47
MuonChamberIDSelector::m_rpcchambersId
std::vector< Identifier > * m_rpcchambersId
Definition: MuonChamberIDSelector.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
MuonChamberIDSelector::m_mdtchambersId
std::vector< Identifier > * m_mdtchambersId
Definition: MuonChamberIDSelector.h:32
MuonChamberIDSelector::initialize
virtual StatusCode initialize()
Algorithm initialization: retrieves StoreGate/DetectorStore/MuonIdHelpers/MuonPrepDataContainers.
Definition: MuonChamberIDSelector.cxx:16
MuonChamberIDSelector::selectMDT
StatusCode selectMDT()
Definition: MuonChamberIDSelector.cxx:41
IMuonIdHelperSvc.h
MuonChamberIDSelector::execute
virtual StatusCode execute()
Retrieves and records containers, performs selection.
Definition: MuonChamberIDSelector.cxx:23
ServiceHandle< Muon::IMuonIdHelperSvc >
MuonChamberIDSelector::selectTGC
StatusCode selectTGC()
selects the TGCcollections
Definition: MuonChamberIDSelector.h:27