ATLAS Offline Software
LArCalibShortCorrector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //Dear emacs, this is -*-c++-*-
6 #ifndef LARCALIBSHORTCORRECTOR_H
7 #define LARCALIBSHORTCORRECTOR_H
8 
13 
16 
17 #include <vector>
18 
20 class CaloCell_ID;
21 class LArOnlineID;
22 class HWIdentifier;
23 
24 
26 {
27  public:
28  LArCalibShortCorrector(const std::string & name, ISvcLocator * pSvcLocator);
30 
31  //standard algorithm methods
34  StatusCode stop();
35  StatusCode finalize(){return StatusCode::SUCCESS;}
36 
37 
38  private:
39 
40  StatusCode findShortedNeighbors();
41 
42  SG::ReadCondHandleKey<LArBadChannelCont> m_BCKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"};
43  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this, "OnOffMap", "LArOnOffIdMap", "SG key for mapping object"};
44 
47 
49 
50  //Algorithm-Properties:
51  std::vector<std::string> m_keylist;
52  std::string m_pedKey;
53 
54  //private members
55  std::vector<std::pair<HWIdentifier,HWIdentifier> > m_shortedNeighbors;
56  typedef std::vector<std::pair<HWIdentifier,HWIdentifier> >::const_iterator SHORT_IT;
57 
59 };
60 
61 #endif
LArAccumulatedCalibDigit
Data class for calibration ADC samples preprocessed by the DSP.
Definition: LArAccumulatedCalibDigit.h:42
LArCalibShortCorrector::m_keylist
std::vector< std::string > m_keylist
Definition: LArCalibShortCorrector.h:51
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
initialize
void initialize()
Definition: run_EoverP.cxx:894
LArCalibShortCorrector::m_shortsCached
bool m_shortsCached
Definition: LArCalibShortCorrector.h:58
PixelModuleFeMask_create_db.stop
int stop
Definition: PixelModuleFeMask_create_db.py:76
LArCalibShortCorrector::m_larPedestal
const DataHandle< ILArPedestal > m_larPedestal
Definition: LArCalibShortCorrector.h:48
HWIdentifier
Definition: HWIdentifier.h:13
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
AthAlgorithm.h
LArBadChannelCont.h
LArOnOffIdMapping.h
LArCalibShortCorrector::finalize
StatusCode finalize()
Definition: LArCalibShortCorrector.h:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArCalibShortCorrector::m_caloCellId
const CaloCell_ID * m_caloCellId
Definition: LArCalibShortCorrector.h:46
LArCalibShortCorrector::m_onlineId
const LArOnlineID * m_onlineId
Definition: LArCalibShortCorrector.h:45
LArCalibShortCorrector
Definition: LArCalibShortCorrector.h:26
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
LArCalibShortCorrector::m_shortedNeighbors
std::vector< std::pair< HWIdentifier, HWIdentifier > > m_shortedNeighbors
Definition: LArCalibShortCorrector.h:55
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
LArCalibShortCorrector::m_pedKey
std::string m_pedKey
Definition: LArCalibShortCorrector.h:52
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArOnlineID
Definition: LArOnlineID.h:20
DataHandle< ILArPedestal >
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
ILArPedestal.h
LArCalibShortCorrector::~LArCalibShortCorrector
~LArCalibShortCorrector()
checker_macros.h
Define macros for attributes used to control the static checker.
LArCalibShortCorrector::SHORT_IT
std::vector< std::pair< HWIdentifier, HWIdentifier > >::const_iterator SHORT_IT
Definition: LArCalibShortCorrector.h:56