ATLAS Offline Software
Loading...
Searching...
No Matches
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
17public:
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
24 StatusCode ChamberperformSelection();
25 StatusCode selectMDT();
26 StatusCode selectRPC();
27 StatusCode selectTGC() { return StatusCode::SUCCESS; }
28 StatusCode selectCSC() { return StatusCode::SUCCESS; }
29
30private:
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
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
std::vector< Identifier > * m_mdtchambersId
virtual StatusCode execute()
Retrieves and records containers, performs selection.
virtual StatusCode initialize()
Algorithm initialization: retrieves StoreGate/DetectorStore/MuonIdHelpers/MuonPrepDataContainers.
std::vector< Identifier > * m_rpcchambersId
virtual ~MuonChamberIDSelector()=default
MuonChamberIDSelector(const std::string &name, ISvcLocator *pSvcLocator)
Athena algorithm constructor.
StatusCode selectCSC()
selects the CSCcollections
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode selectRPC()
selects the RPCcollections
StatusCode selectTGC()
selects the TGCcollections