ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecEvent
InDetPrepRawData
InDetPrepRawData
PixelGangedClusterAmbiguities.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
CLASS_DEF for InDetRIO_Maker map
7
------------------------------
8
ATLAS Collaboration
9
***************************************************************************/
10
11
#ifndef PIXELGANGEDCLUSTERAMBIGUITIES_H
12
#define PIXELGANGEDCLUSTERAMBIGUITIES_H 1
13
14
//<<<<<< INCLUDES >>>>>>
15
#include "
AthenaKernel/CLASS_DEF.h
"
16
#include <map>
17
#include "
InDetPrepRawData/SiCluster.h
"
18
19
//<<<<<< PUBLIC DEFINES >>>>>>
20
21
namespace
InDet
{
22
struct
compare_SiCluster
23
{
24
bool
operator()
( const ::InDet::SiCluster*
const
&
a
,
25
const ::InDet::SiCluster*
const
& b)
const
26
{
27
Identifier
ida = (
a
!=0 ?
a
->identify() :
Identifier
(0));
28
Identifier
idb = (b!=0 ? b->identify() :
Identifier
(0));
29
30
// sometimes different clusters have the same identity
31
// use the size to determine the order/break degeneracy
32
if
( ida == idb && ida !=
Identifier
(0) ) {
33
return
(
a
->width() < b->width());
34
}
35
36
return
ida < idb;
37
}
38
};
39
40
typedef
std::multimap<
const
SiCluster*,
const
SiCluster*,
41
::InDet::compare_SiCluster
>
42
PixelGangedClusterAmbiguities
;
43
}
44
45
CLASS_DEF
( InDet::PixelGangedClusterAmbiguities , 130176466 , 1 )
46
47
48
49
#endif
// PIXELGANGEDCLUSTERAMBIGUITIES_H
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
a
static Double_t a
Definition
LArPhysWaveHECTool.cxx:38
SiCluster.h
InDet::PixelGangedClusterAmbiguities
std::multimap< const SiCluster *, const SiCluster *, ::InDet::compare_SiCluster > PixelGangedClusterAmbiguities
Definition
PixelGangedClusterAmbiguities.h:42
Identifier
Definition
IdentifierFieldParser.cxx:14
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
InDet::compare_SiCluster
Definition
PixelGangedClusterAmbiguities.h:23
InDet::compare_SiCluster::operator()
bool operator()(const ::InDet::SiCluster *const &a, const ::InDet::SiCluster *const &b) const
Definition
PixelGangedClusterAmbiguities.h:24
Generated on
for ATLAS Offline Software by
1.17.0