![]() |
ATLAS Offline Software
|
#include <LArOFCAlg.h>
Classes | |
| class | Looper |
| struct | perChannelData_t |
Public Member Functions | |
| LArOFCAlg (const std::string &name, ISvcLocator *pSvcLocator) | |
| StatusCode | initialize () |
| StatusCode | execute () |
| virtual StatusCode | stop () |
| StatusCode | finalize () |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| 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. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| void | process (perChannelData_t &, const LArOnOffIdMapping *cabling) const |
| bool | verify (const HWIdentifier chid, const std::vector< float > &OFCa, const std::vector< float > &OFCb, const std::vector< float > &Shape, const char *ofcversion, const unsigned phase) const |
| StatusCode | initPhysWaveContainer (const LArOnOffIdMapping *cabling) |
| StatusCode | initCaliWaveContainer () |
| Eigen::VectorXd | getDelta (std::vector< float > &samples, const HWIdentifier chid, unsigned nSamples) const |
| bool | useDelta (const HWIdentifier chid, const int jobOFlag, const LArOnOffIdMapping *cabling) const |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Static Private Member Functions | |
| static void | optFilt (const std::vector< float > &gWave_in, const std::vector< float > &gDerivWave_in, const Eigen::MatrixXd &autoCorrInv, std::vector< float > &OFCa, std::vector< float > &OFCb) |
| static void | optFiltDelta (const std::vector< float > &gWave_in, const std::vector< float > &gDerivWave_in, const Eigen::MatrixXd &autoCorrInv, const Eigen::VectorXd &delta, std::vector< float > &vecOFCa, std::vector< float > &vecOFCb) |
| static void | optFiltPed (const std::vector< float > &gWave_in, const std::vector< float > &gDerivWave_in, const Eigen::MatrixXd &autoCorrInv, std::vector< float > &OFCa, std::vector< float > &OFCb) |
| static void | printOFCVec (const std::vector< float > &vec, MsgStream &mLog) |
Private Attributes | |
| SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKey {this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"} |
| SG::ReadCondHandleKey< LArOnOffIdMapping > | m_cablingKeySC {this,"ScCablingKey","LArOnOffIdMapSC","SG Key of SC LArOnOffIdMapping object"} |
| SG::ReadCondHandleKey< CaloDetDescrManager > | m_caloMgrKey |
| SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > | m_caloSuperCellMgrKey |
| std::vector< perChannelData_t > | m_allChannelData |
| unsigned int | m_nPoints {0} |
| StringProperty | m_dumpOFCfile {this, "DumpOFCfile", ""} |
| StringArrayProperty | m_keylist {this, "KeyList", {}, "List of keys to process"} |
| BooleanProperty | m_verify {this, "Verify", true, "Verufy OFCs after computation"} |
| BooleanProperty | m_normalize {this, "Normalize", false, "Normalize input wave"} |
| BooleanProperty | m_timeShift {this, "TimeShift", false, "Shifting input wave"} |
| IntegerProperty | m_timeShiftByIndex {this, "TimeShiftByIndex", -1, "shifting by n bins input wave"} |
| LArCaliWaveContainer * | m_waveCnt_nc =nullptr |
| UnsignedIntegerProperty | m_nSamples {this, "Nsample", 5, "How many sample to compute"} |
| UnsignedIntegerProperty | m_nPhases {this, "Nphase", 50, "How many sphases to compute"} |
| UnsignedIntegerProperty | m_dPhases {this, "Dphase", 1, "Number of samples between two neighboring phases (OFC sets)"} |
| UnsignedIntegerProperty | m_nDelays {this, "Ndelay", 24, "Number of delays in one clock"} |
| FloatProperty | m_addOffset {this, "AddTimeOffset", 0., "Time offset to add"} |
| ToolHandle< ILArAutoCorrDecoderTool > | m_AutoCorrDecoder {this,"DecoderTool",{} } |
| ToolHandle< ILArAutoCorrDecoderTool > | m_AutoCorrDecoderV2 {this,"DecoderToolV2", {} } |
| const CaloDetDescrManager_Base * | m_calo_dd_man {} |
| const LArOnlineID_Base * | m_onlineID {} |
| const LArOFCBinComplete * | m_larPhysWaveBin {} |
| DoubleProperty | m_errAmpl {this, "ErrAmplitude", 0.01, "Allowed amplitude difference in check"} |
| DoubleProperty | m_errTime {this, "ErrTime", 0.01, "Allowed time difference in check"} |
| BooleanProperty | m_readCaliWave {this, "ReadCaliWave", true, "If false PhysWave is input"} |
| BooleanProperty | m_fillShape {this, "FillShape", false, "Fill also shape object"} |
| StringProperty | m_ofcKey {this, "KeyOFC", "LArOFC", "Output key non-pileup OFCs"} |
| StringProperty | m_ofcKeyV2 {this, "KeyOFCV2", "LArOFCV2", "Output key pileup OFCs"} |
| StringProperty | m_shapeKey {this, "KeyShape", "LArShape", "Output key Shape object"} |
| BooleanProperty | m_storeMaxPhase {this,"StoreMaxPhase", false, "Store phase of input wave max.?"} |
| StringProperty | m_ofcBinKey {this, "LArOFCBinKey", "LArOFCPhase","Key for storing OFCBin object for MAx phase"} |
| StringProperty | m_groupingType {this, "GroupingType", "SubDetector","Which grouping type to use"} |
| StringProperty | m_larPhysWaveBinKey {this,"LArPhysWaveBinKey", "", "Key for object to choose bin"} |
| IntegerProperty | m_useDelta {this, "UseDelta", 0, "0= not use Delta, 1=only EMECIW/HEC/FCAL, 2=all , 3 = only EMECIW/HEC/FCAL1+high eta FCAL2-3"} |
| IntegerProperty | m_useDeltaV2 {this, "UseDeltaV2", 0, "Same af before for Delta"} |
| BooleanProperty | m_computeV2 {this, "ComputeOFCV2", false, "Compute pileup OFCs?"} |
| BooleanProperty | m_computePed {this, "ComputeOFCPed", false, "Compute OFCs with additional constraint to pedestal?"} |
| IntegerProperty | m_nThreads {this, "nThreads", -1, "-1: No TBB, 0: Let TBB decide, >0 number of threads"} |
| BooleanProperty | m_readDSPConfig {this, "ReadDSPConfig", false, "Read DSPConfig object ?"} |
| StringProperty | m_DSPConfigFolder {this,"DSPConfigFolder","/LAR/Configuration/DSPConfiguration", "Folder for DSPConfig object"} |
| std::unique_ptr< LArDSPConfig > | m_DSPConfig |
| BooleanProperty | m_forceShift {this, "ForceShift", false, "Forcing shift of input wave ?"} |
| BooleanProperty | m_isSC {this, "isSC", false, "Running on cells or supercells?"} |
| DataObjIDColl | m_extendedExtraObjects |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
Static Private Attributes | |
| static const float | m_fcal3Delta [5] ={0.0790199937765, 0.0952000226825, 0.0790199937765, 0.0952000226825, 0.0790199937765} |
| static const float | m_fcal2Delta [5] ={-0.01589001104, -0.0740399733186, -0.01589001104, -0.0740399733186, -0.01589001104} |
| static const float | m_fcal1Delta [5] ={0.0679600232979, -0.139479996869, 0.0679600232979, -0.139479996869, 0.0679600232979} |
Definition at line 39 of file LArOFCAlg.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| LArOFCAlg::LArOFCAlg | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Definition at line 40 of file LArOFCAlg.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 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.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
inline |
Definition at line 46 of file LArOFCAlg.h.
|
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.
|
inline |
Definition at line 48 of file LArOFCAlg.h.
|
private |
Definition at line 853 of file LArOFCAlg.cxx.
|
private |
Definition at line 623 of file LArOFCAlg.cxx.
| StatusCode LArOFCAlg::initialize | ( | ) |
Definition at line 46 of file LArOFCAlg.cxx.
|
private |
Definition at line 589 of file LArOFCAlg.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 30 of file AthCommonMsg.h.
|
staticprivate |
Definition at line 675 of file LArOFCAlg.cxx.
|
staticprivate |
HepVector delta(5) ;
delta[0]=3.79198742146; delta[1]=-4.84165741965; delta[2]=3.20189843985; delta[3]=-5.90850592618; delta[4]=1.8260451328;
Definition at line 773 of file LArOFCAlg.cxx.
|
staticprivate |
Definition at line 721 of file LArOFCAlg.cxx.
|
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.
|
staticprivate |
Definition at line 994 of file LArOFCAlg.cxx.
|
private |
Definition at line 395 of file LArOFCAlg.cxx.
|
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.
|
virtual |
TBB global control parameter
Definition at line 113 of file LArOFCAlg.cxx.
|
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, AthHistogramAlgorithm, and PyAthena::Alg.
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.
|
private |
Definition at line 902 of file LArOFCAlg.cxx.
|
private |
Definition at line 958 of file LArOFCAlg.cxx.
|
private |
Definition at line 137 of file LArOFCAlg.h.
|
private |
Definition at line 94 of file LArOFCAlg.h.
|
private |
Definition at line 139 of file LArOFCAlg.h.
|
private |
Definition at line 140 of file LArOFCAlg.h.
|
private |
Definition at line 52 of file LArOFCAlg.h.
|
private |
Definition at line 53 of file LArOFCAlg.h.
|
private |
Definition at line 142 of file LArOFCAlg.h.
|
private |
Definition at line 55 of file LArOFCAlg.h.
|
private |
Definition at line 60 of file LArOFCAlg.h.
|
private |
Definition at line 163 of file LArOFCAlg.h.
|
private |
Definition at line 162 of file LArOFCAlg.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 135 of file LArOFCAlg.h.
|
private |
Definition at line 168 of file LArOFCAlg.h.
|
private |
Definition at line 167 of file LArOFCAlg.h.
|
private |
Definition at line 123 of file LArOFCAlg.h.
|
private |
Definition at line 146 of file LArOFCAlg.h.
|
private |
Definition at line 147 of file LArOFCAlg.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.
|
staticprivate |
Definition at line 851 of file LArOFCAlg.h.
|
staticprivate |
Definition at line 850 of file LArOFCAlg.h.
|
staticprivate |
Definition at line 849 of file LArOFCAlg.h.
|
private |
Definition at line 150 of file LArOFCAlg.h.
|
private |
Definition at line 170 of file LArOFCAlg.h.
|
private |
Definition at line 157 of file LArOFCAlg.h.
|
private |
Definition at line 172 of file LArOFCAlg.h.
|
private |
Definition at line 124 of file LArOFCAlg.h.
|
private |
Definition at line 144 of file LArOFCAlg.h.
|
private |
Definition at line 158 of file LArOFCAlg.h.
|
private |
Definition at line 136 of file LArOFCAlg.h.
|
private |
Definition at line 126 of file LArOFCAlg.h.
|
private |
Definition at line 134 of file LArOFCAlg.h.
|
private |
Definition at line 121 of file LArOFCAlg.h.
|
private |
Definition at line 133 of file LArOFCAlg.h.
|
private |
Definition at line 164 of file LArOFCAlg.h.
|
private |
Definition at line 155 of file LArOFCAlg.h.
|
private |
Definition at line 151 of file LArOFCAlg.h.
|
private |
Definition at line 152 of file LArOFCAlg.h.
|
private |
Definition at line 143 of file LArOFCAlg.h.
|
private |
Definition at line 149 of file LArOFCAlg.h.
|
private |
Definition at line 166 of file LArOFCAlg.h.
|
private |
Definition at line 153 of file LArOFCAlg.h.
|
private |
Definition at line 154 of file LArOFCAlg.h.
|
private |
Definition at line 127 of file LArOFCAlg.h.
|
private |
Definition at line 128 of file LArOFCAlg.h.
|
private |
Definition at line 160 of file LArOFCAlg.h.
|
private |
Definition at line 161 of file LArOFCAlg.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
private |
Definition at line 125 of file LArOFCAlg.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Definition at line 131 of file LArOFCAlg.h.