ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonValidation
MuonDQA
MuonRawDataMonitoring
MdtRawDataMonitoring
src
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
12
#include "
AthenaBaseComps/AthAlgorithm.h
"
13
#include "GaudiKernel/ServiceHandle.h"
14
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
15
16
class
MuonChamberIDSelector
:
public
AthAlgorithm
{
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
(
const
EventContext& ctx);
23
24
StatusCode
ChamberperformSelection
();
25
StatusCode
selectMDT
();
26
StatusCode
selectRPC
();
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
AthAlgorithm.h
IMuonIdHelperSvc.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
MuonChamberIDSelector::m_mdtchambersId
std::vector< Identifier > * m_mdtchambersId
Definition
MuonChamberIDSelector.h:32
MuonChamberIDSelector::ChamberperformSelection
StatusCode ChamberperformSelection()
Definition
MuonChamberIDSelector.cxx:32
MuonChamberIDSelector::initialize
virtual StatusCode initialize()
Algorithm initialization: retrieves StoreGate/DetectorStore/MuonIdHelpers/MuonPrepDataContainers.
Definition
MuonChamberIDSelector.cxx:16
MuonChamberIDSelector::m_rpcchambersId
std::vector< Identifier > * m_rpcchambersId
Definition
MuonChamberIDSelector.h:33
MuonChamberIDSelector::~MuonChamberIDSelector
virtual ~MuonChamberIDSelector()=default
MuonChamberIDSelector::MuonChamberIDSelector
MuonChamberIDSelector(const std::string &name, ISvcLocator *pSvcLocator)
Athena algorithm constructor.
Definition
MuonChamberIDSelector.cxx:12
MuonChamberIDSelector::execute
virtual StatusCode execute(const EventContext &ctx)
Retrieves and records containers, performs selection.
Definition
MuonChamberIDSelector.cxx:23
MuonChamberIDSelector::selectCSC
StatusCode selectCSC()
selects the CSCcollections
Definition
MuonChamberIDSelector.h:28
MuonChamberIDSelector::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
MuonChamberIDSelector.h:31
MuonChamberIDSelector::selectMDT
StatusCode selectMDT()
Definition
MuonChamberIDSelector.cxx:41
MuonChamberIDSelector::selectRPC
StatusCode selectRPC()
selects the RPCcollections
Definition
MuonChamberIDSelector.cxx:68
MuonChamberIDSelector::selectTGC
StatusCode selectTGC()
selects the TGCcollections
Definition
MuonChamberIDSelector.h:27
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0