ATLAS Offline Software
IDC_Helper.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONRDOTOPREPDATA_IDC_HELPER_H
6 #define MUONRDOTOPREPDATA_IDC_HELPER_H
7 
8 // Base classes
9 #include "Identifier/Identifier.h"
13 
14 #include "AthenaKernel/CLASS_DEF.h"
16 
17 namespace Muon{
18 
19 namespace IDC_Helper {
20 
21 template< class IDC, class IDHELPER >
22 //DRDR static should match implementation in IDC_Helper.icc (clang32)
23 static
24 typename IDC::IDENTIFIABLE*
25 getCollection ATLAS_NOT_THREAD_SAFE ( const Identifier collId,
26  IDC* idc,
27  const IDHELPER& idHelper,
28  MsgStream& log);
29 
30 template< class IDC, class IDHELPER >
31 typename IDC::IDENTIFIABLE*
32 getCollection ATLAS_NOT_THREAD_SAFE ( const Identifier collId,
33  IDC* idc,
34  const IDHELPER* idHelper,
35  MsgStream& log)
36 {
37  return getCollection<IDC, IDHELPER>(collId, idc, *idHelper, log);
38 }
39 
40 
41 template< class IDC, class IDHELPER >
42 //DRDR static should match implementation in IDC_Helper.icc (clang32)
43 typename IDC::IDENTIFIABLE*
44 addCollection( const Identifier collId,
45  IDC* idc,
46  const IDHELPER& idHelper,
47  MsgStream& log);
48 
49 
50 }
51 }
52 
53 #include "IDC_Helper.icc"
54 
55 #endif
56 
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
Identifiable.h
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
IdentifierHash.h
Muon::IDC_Helper::addCollection
IDC::IDENTIFIABLE * addCollection(const Identifier collId, IDC *idc, const IDHELPER &idHelper, MsgStream &log)
IDC_Helper.icc
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
checker_macros.h
Define macros for attributes used to control the static checker.
CLASS_DEF.h
macros to associate a CLID to a type