ATLAS Offline Software
|
#include <FixLArIdMap.h>
Public Member Functions | |
FixLArIdMap (const std::string &name, ISvcLocator *pSvcLocator) | |
Author Hong Ma hma@b nl.g ovMore... | |
virtual | ~FixLArIdMap () |
StatusCode | initialize () |
StatusCode | execute () |
StatusCode | finalize () |
StatusCode | fix1 () |
StatusCode | fix2 () |
StatusCode | fix3 () |
StatusCode | fix4 () |
StatusCode | fix5 () |
StatusCode | fix6 () |
StatusCode | fix7 () |
StatusCode | fix8 () |
StatusCode | fix9 () |
StatusCode | fix10 () |
StatusCode | fix11 () |
StatusCode | fix12 () |
void | dumpId () |
virtual StatusCode | sysInitialize () override |
Override sysInitialize. More... | |
virtual const DataObjIDColl & | extraOutputDeps () const override |
Return the list of extra output dependencies. More... | |
ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | evtStore () const |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More... | |
const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More... | |
virtual StatusCode | sysStart () override |
Handle START transition. More... | |
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
Return this algorithm's input handles. More... | |
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
Return this algorithm's output handles. More... | |
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
Declare a new Gaudi property. More... | |
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
Declare a new Gaudi property. More... | |
void | updateVHKA (Gaudi::Details::PropertyBase &) |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
remove all handles from I/O resolution More... | |
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
Add StoreName to extra input/output deps as needed. More... | |
Private Types | |
typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
specialization for handling Gaudi::Property<SG::VarHandleKey> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
specialization for handling Gaudi::Property<SG::VarHandleBase> More... | |
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More... | |
Private Attributes | |
int | m_fixFlag |
bool | m_dumpIds |
std::string | m_febToRodMap |
DataObjIDColl | m_extendedExtraObjects |
StoreGateSvc_t | m_evtStore |
Pointer to StoreGate (event store by default) More... | |
StoreGateSvc_t | m_detStore |
Pointer to StoreGate (detector store by default) More... | |
std::vector< SG::VarHandleKeyArray * > | m_vhka |
bool | m_varHandleArraysDeclared |
Definition at line 13 of file FixLArIdMap.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
FixLArIdMap::FixLArIdMap | ( | const std::string & | name, |
ISvcLocator * | pSvcLocator | ||
) |
Author Hong Ma hma@b nl.g ov
Purpose: read in the IdMap, apply fix to the same data object in DetStore, ready to be written out again as a new version.
This should be used with FixLArIdMap_jobOptions.py to write a new POOL file.
Implemented fixes:
Flag = 1 Read in LArIdMap used prior to release 12, which used the id dictionary with slot=1-14 for FCAL. Fix the id map, so that the FCAL channels are mapped to id with slot = 1-7,9-15
Barrel strips, eta=0, used to have no calibration line. This fix add back the calib line.
Changes in ECC: FT3R Calib. ch : 2->60, 3->61 pn=-2, ft=7 FT3L Calib. ch : 68->124 ,69->125 pn=-2, ft=8 FT8L Calib. ch : 72->124, 73->125 pn=-2, ft=24
Changes in ECA: FT2L Calib. ch (slot CAL1): 0->108, 1->109 pn=3, ft=2 (CalibModule is in FT2L, but the signal channels are in FT2R,ft=2) FT9L Signal ch (ATI02, Slot L2): 122->124 pn=3, ft=16,slot=2 FT11L Calib. ch : 64->60, 65->61, 66->124, 67->125 pn=2, ft=20 FT13R Signal ch (ATI04, Slot FRT2): 88->64, 89->65, 90->66, 91->67, 92->68, 93->69, 94->70, 95->71 pn=2, ft=23,slot=4
Flag ==3 Incremental to Fix2 Corrections from Dominik/Francesco/Cleland for EMEC inner wheel channel swapping on the baseplane
FTs: 2L, 6L, 9L and 12L in endcap A and C
Endcap A pn=3, ft=3,10,16,22 Endcap C pn=-3, ft=10,3,22,16
Channels: 26<->28, 27<->29, 58<->60, 59<->61, 90<->92, 91<->93, 122<->124, 123<->125.
except for pn=3,ft=16,slot=2, the swaping 122->124 is already done in fix2.
Fix4. FCAL mapping change.
For the C-side, old: OfflineID OnlineID [4.-3.-2.3.15.2] [4.4.1.0.6.14.95] disconnected [4.-3.-2.3.15.10] [4.4.1.0.6.15.95] disconnected [4.3.-2.3.15.5] [4.4.1.0.6.14.47] connected [4.3.-2.3.15.13] [4.4.1.0.6.15.47] connected
new: OfflineID OnlineID [4.3.-2.3.15.2] [4.4.1.0.6.14.95] connected [4.3.-2.3.15.10] [4.4.1.0.6.15.95] connected [4.-3.-2.3.15.5] [4.4.1.0.6.14.47] disconnected [4.-3.-2.3.15.13] [4.4.1.0.6.15.47] disconnected
For A-side old OfflineID OnlineID [4.-3.2.3.15.2] [4.4.1.1.6.14.47] disconnected [4.-3.2.3.15.10] [4.4.1.1.6.15.47] disconnected [4.3.2.3.15.5] [4.4.1.1.6.14.95] connected [4.3.2.3.15.13] [4.4.1.1.6.15.95] connected
new OfflineID OnlineID [4.3.2.3.15.2] [4.4.1.1.6.14.47] connected [4.3.2.3.15.10] [4.4.1.1.6.15.47] connected [4.-3.2.3.15.5] [4.4.1.1.6.14.95] disconnected [4.-3.2.3.15.13] [4.4.1.1.6.15.95] disconnected
pulser channels 0 to 31 and channels 64 to 95 are pair-wise swapped in the FEB channels they feed while pulser channels 32 to 63 and 96 to 127 are pulsing the corresponding FEB channels, as expected.
Flag==6 here is the summary of mapping errors in HEC, found from the newest commissioning data (with good patterns). There are basically three errors, two on single module, one which affects all 8 modules in HEC quadrant:
9 | 100 | 55 || 56 9 | 101 | 54, 55 || 55, 56
10 | 100 | 119 || 120 10 | 101 | 118, 119 || 119, 120
7 | 36 | 13 || 12 7 | 37 | 13, 14 || 11, 12 7 | 38 | 3 || 5
7 | 44 | 29 || 28 7 | 45 | 29, 30 || 27, 28 7 | 46 | 19 || 21
7 | 100 | 45 || 44 7 | 101 | 45, 46 || 43, 44 7 | 102 | 35 || 37
7 | 108 | 61 || 60 7 | 109 | 61, 62 || 59, 60 7 | 110 | 51 || 53
8 | 36 | 77 || 76 8 | 37 | 77, 78 || 75, 76 8 | 38 | 67 || 69
8 | 44 | 93 || 92 8 | 45 | 93, 94 || 91, 92 8 | 46 | 83 || 85
8 | 100 | 109 || 108 8 | 101 | 109, 110 || 107, 108 8 | 102 | 99 || 101
8 | 108 | 125 || 124 8 | 109 | 125, 126 || 123, 124 8 | 110 | 115 || 117
Fix 7. Remap FCAL online and offline id. read both connected and disconnected channels from FCal-online-map-disc.txt
Fix 8. Import the FEB to ROD map
Fix 9. Fix barrel cabling (Julien Labbe)
Fix 10: HEC FEB fiber cable Swap (Emanuel Rauter)
Fix 11: EMEC-C FEB fiber cable swap
Fix 12: EMEC-A FEB fiber cable swap
Definition at line 195 of file FixLArIdMap.cxx.
|
virtual |
Definition at line 206 of file FixLArIdMap.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
|
inlineprivateinherited |
specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>
Definition at line 199 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 259 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
|
inlineinherited |
Declare a new Gaudi property.
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore
Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 95 of file AthCommonDataStore.h.
void FixLArIdMap::dumpId | ( | ) |
Definition at line 265 of file FixLArIdMap.cxx.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 85 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc
(event store) Returns (kind of) a pointer to the StoreGateSvc
.
Definition at line 90 of file AthCommonDataStore.h.
StatusCode FixLArIdMap::execute | ( | ) |
Definition at line 213 of file FixLArIdMap.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
StatusCode FixLArIdMap::finalize | ( | ) |
Definition at line 219 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix1 | ( | ) |
Definition at line 351 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix10 | ( | ) |
Definition at line 1643 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix11 | ( | ) |
Definition at line 1746 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix12 | ( | ) |
Definition at line 1879 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix2 | ( | ) |
Definition at line 564 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix3 | ( | ) |
Definition at line 783 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix4 | ( | ) |
Definition at line 935 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix5 | ( | ) |
Definition at line 1068 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix6 | ( | ) |
Definition at line 1129 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix7 | ( | ) |
Definition at line 1269 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix8 | ( | ) |
Definition at line 1485 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::fix9 | ( | ) |
Definition at line 1531 of file FixLArIdMap.cxx.
StatusCode FixLArIdMap::initialize | ( | ) |
Definition at line 209 of file FixLArIdMap.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, PyAthena::Alg, and AthHistogramAlgorithm.
Definition at line 66 of file AthAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 40 of file FixLArIdMap.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
private |
Definition at line 41 of file FixLArIdMap.h.
|
private |
Definition at line 39 of file FixLArIdMap.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.