|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #include "GaudiKernel/MsgStream.h"
17 #include "GaudiKernel/Bootstrap.h"
18 #include "GaudiKernel/ISvcLocator.h"
19 #include "GaudiKernel/IMessageSvc.h"
20 #include "GaudiKernel/INTupleSvc.h"
21 #include "GaudiKernel/IDataProviderSvc.h"
22 #include "GaudiKernel/SmartDataPtr.h"
38 #include "GaudiKernel/IClassIDSvc.h"
53 , m_channel_context(nullptr)
54 , m_drawer_context(nullptr)
61 , m_tileZeroSuppress(0)
62 , m_thresholdRawChannel(0)
63 , m_thresholdDigits(0)
70 , m_MuRcvNoiseSigma(0)
80 , m_mbtsL1NoiseSigma(0)
84 , m_ttL1CosmicsGain(0)
85 , m_ttL1CosmicsThresh(0)
88 , m_digitsTime0BinHi(0)
89 , m_digitsTime0BinLo(0)
90 , m_digitsBinsPerXHi(0)
91 , m_digitsBinsPerXLo(0)
101 , m_pulseShapes(nullptr)
102 , m_WienerFilterWeights(nullptr)
103 , m_tileCablingSvc(
"TileCablingSvc",
"TileInfo")
106 for (
int i=0;
i<32; ++
i)
109 for (
int i=0;
i<32; ++
i)
130 for (
int i=0;
i<sizepart; ++
i){
132 for (
int j=0; j<sizemodu; ++j){
134 for (
int k=0;
k<sizegain; ++
k){
162 return StatusCode::FAILURE;
169 return StatusCode::FAILURE;
192 <<
"Unable to load WienerFilter weights"<<
endmsg;
193 return StatusCode::FAILURE;
198 return StatusCode::SUCCESS;
221 int gain = (hilo) ? 0 : 1;
235 for (
int i=0;
i<nsamp; ++
i) {
244 log <<
MSG::DEBUG <<
" Shaping profile at beam crossings: nsamp = " << nsamp <<
", itrig = " << itrig <<
endmsg;
246 for (
int i=0;
i<nsamp;
i++) {
247 if(jc==0)
log <<
MSG::DEBUG <<
" bin = " <<
i <<
" Shape factor =";
248 log <<
MSG::DEBUG << std::setw(8) << std::setprecision(4) << ttl1shape[
i] <<
" ";
266 for (
int i=0;
i<nsamp; ++
i) {
TilePulseShapes * m_pulseShapes
void load(MsgStream &log)
const TileTBID * m_tileTBID
void loadWeights(MsgStream &log)
IdContext channel_context(void) const
idContext for channels
logLevel
If HLT PSK is set on command line read it from DB instead of COOL (ATR-25974)
IdContext drawer_context(void) const
idContext for drawers
const TileTBID * getTileTBID() const
IMessageSvc * getMessageSvc(bool quiet=false)
const std::vector< double > & ttl1Shape() const
Return bunch-X TTL1 shape vector.
const TMatrixD * DecoCovariance(int ros, int drawer, int hilo) const
Returns the decomposed covariance matrix.
ServiceHandle< TileCablingSvc > m_tileCablingSvc
::StatusCode StatusCode
StatusCode definition for legacy code.
void muRcvShape(const int nsamp, const int itrig, const double phase, std::vector< double > &murcvshape) const
double m_noiseScaleFactor[4]
scale factor from digital noise to Opt Filter noise for various opt filter algoritms 0 - reserved 1 -...
const TileHWID * getTileHWID() const
const TileID * getTileID() const
Helpers for checking error return status codes and reporting errors.
IMessageSvc * msgSvc() const
Returns a handle to the MessageSvc.
std::vector< std::vector< std::vector< TMatrixD * > > > m_decoCovaria
std::vector< double > m_MuRcvFullShape
const IdContext * m_channel_context
StatusCode initialize()
Initialization of the TileInfo object.
const IdContext * m_drawer_context
const TileCablingService * m_cabling
const TileHWID * m_tileHWID
std::vector< double > m_TTL1FullShape
TileWienerFilterWeights * m_WienerFilterWeights