ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonReconstruction
MuonSegmentMakers
MuonSegmentMakerAlgs
CscSegmentMakers
src
Csc2dSegmentMaker.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 Csc2dSegmentMaker_H
6
#define Csc2dSegmentMaker_H
7
8
// Algorithm to find CSC 2D segments from clusters.
9
//
10
// Segmetns are witten as MuonSegment objects to a
11
// MuonSegmentCombinationCollection. There is a separate combination for
12
// each chamber (with segments) and separate r and phi collections
13
// for each combination.
14
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
CscSegmentMakers/ICscSegmentFinder.h
"
17
#include "
CscSegmentMakers/ICscSegmentUtilTool.h
"
18
#include "GaudiKernel/ServiceHandle.h"
19
#include "GaudiKernel/ToolHandle.h"
20
#include "
MuonIdHelpers/IMuonIdHelperSvc.h
"
21
#include "
MuonRecHelperTools/MuonEDMPrinterTool.h
"
22
#include "
MuonRecToolInterfaces/IMuonClusterOnTrackCreator.h
"
23
24
class
Csc2dSegmentMaker
:
virtual
public
ICscSegmentFinder
,
public
AthAlgTool
{
25
public
:
26
Csc2dSegmentMaker
(
const
std::string&,
const
std::string&,
const
IInterface*);
27
28
~Csc2dSegmentMaker
() =
default
;
29
30
StatusCode
initialize
();
31
32
std::unique_ptr<MuonSegmentCombinationCollection>
find
(
const
std::vector<const Muon::CscPrepDataCollection*>& pcols,
33
const
EventContext& ctx)
const
;
34
std::unique_ptr<MuonSegmentCombinationCollection>
find
(
const
MuonSegmentCombinationCollection
&,
const
EventContext& ctx)
const
;
35
36
private
:
37
Muon::MuonSegmentCombination
*
findSegmentCombination
(
const
Muon::CscPrepDataCollection
& pcol,
const
EventContext& ctx)
const
;
38
39
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
40
41
Gaudi::Property<std::string>
m_cscdig_sg_inkey
{
this
,
"scdig_sg_inkey"
,
"CSC_Measurements"
};
42
43
ToolHandle<ICscSegmentUtilTool>
m_segmentTool
{
this
,
"segmentTool"
,
"CscSegmentUtilTool/CscSegmentUtilTool"
};
44
ToolHandle<Muon::IMuonClusterOnTrackCreator>
m_cscClusterOnTrackCreator
{
this
,
"cscRotCreator"
,
45
"Muon::CscClusterOnTrackCreator/CscClusterOnTrackCreator"
};
46
PublicToolHandle<Muon::MuonEDMPrinterTool>
m_printer
{
this
,
"printerTool"
,
"Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"
};
47
};
48
49
#endif
AthAlgTool.h
ICscSegmentFinder.h
ICscSegmentUtilTool.h
IMuonClusterOnTrackCreator.h
IMuonIdHelperSvc.h
MuonEDMPrinterTool.h
MuonSegmentCombinationCollection
DataVector< Muon::MuonSegmentCombination > MuonSegmentCombinationCollection
This typedef represents a collection of MuonSegmentCombination objects.
Definition
MuonSegmentCombinationCollection.h:16
AthAlgTool::AthAlgTool
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Definition
AthAlgTool.cxx:16
Csc2dSegmentMaker::find
std::unique_ptr< MuonSegmentCombinationCollection > find(const std::vector< const Muon::CscPrepDataCollection * > &pcols, const EventContext &ctx) const
Definition
Csc2dSegmentMaker.cxx:85
Csc2dSegmentMaker::m_segmentTool
ToolHandle< ICscSegmentUtilTool > m_segmentTool
Definition
Csc2dSegmentMaker.h:43
Csc2dSegmentMaker::Csc2dSegmentMaker
Csc2dSegmentMaker(const std::string &, const std::string &, const IInterface *)
Definition
Csc2dSegmentMaker.cxx:65
Csc2dSegmentMaker::m_printer
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
Definition
Csc2dSegmentMaker.h:46
Csc2dSegmentMaker::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
Csc2dSegmentMaker.h:39
Csc2dSegmentMaker::m_cscClusterOnTrackCreator
ToolHandle< Muon::IMuonClusterOnTrackCreator > m_cscClusterOnTrackCreator
Definition
Csc2dSegmentMaker.h:44
Csc2dSegmentMaker::~Csc2dSegmentMaker
~Csc2dSegmentMaker()=default
Csc2dSegmentMaker::m_cscdig_sg_inkey
Gaudi::Property< std::string > m_cscdig_sg_inkey
Definition
Csc2dSegmentMaker.h:41
Csc2dSegmentMaker::initialize
StatusCode initialize()
Definition
Csc2dSegmentMaker.cxx:72
Csc2dSegmentMaker::findSegmentCombination
Muon::MuonSegmentCombination * findSegmentCombination(const Muon::CscPrepDataCollection &pcol, const EventContext &ctx) const
Definition
Csc2dSegmentMaker.cxx:121
ICscSegmentFinder
Definition
ICscSegmentFinder.h:28
Muon::MuonSegmentCombination
Class to hold a set of MuonSegments belonging together.
Definition
MuonSegmentCombination.h:30
ServiceHandle
Definition
ClusterMakerTool.h:36
Muon::CscPrepDataCollection
MuonPrepDataCollection< CscPrepData > CscPrepDataCollection
Definition
MuonPrepDataCollection.h:109
Generated on
for ATLAS Offline Software by
1.17.0