ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TileMuonReceiverDecision Class Reference

#include <TileMuonReceiverDecision.h>

Inheritance diagram for TileMuonReceiverDecision:
Collaboration diagram for TileMuonReceiverDecision:

Public Member Functions

 TileMuonReceiverDecision (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~TileMuonReceiverDecision ()
 
virtual StatusCode initialize () override
 initialize method More...
 
virtual StatusCode execute (const EventContext &ctx) const override
 execute method More...
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
virtual bool filterPassed (const EventContext &ctx) const
 
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 
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< StoreGateSvcStoreGateSvc_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

IntegerProperty m_manualRunPeriod {this,"ManualRunPeriod",-1}
 
SG::ReadHandleKey< TileRawChannelContainerm_rawChannelContainerKey
 
SG::WriteHandleKey< TileMuonReceiverContainerm_muonReceiverContainerKey
 
std::string m_infoName
 Name of tile info object in TES. More...
 
const TileIDm_tileID
 
const TileHWIDm_tileHWID
 
const TileCablingServicem_cablingService
 TileCabling instance. More...
 
const TileInfom_tileInfo
 
float m_threshold_d6_lo
 
float m_threshold_d6_hi
 
float m_threshold_d5d6_lo
 
float m_threshold_d5d6_hi
 
float m_threshold_d5
 
float m_threshold_d6
 
float m_threshold_d5d6
 
float m_selCutQf
 
SG::ReadCondHandleKey< TileEMScalem_emScaleKey
 Name of TileEMScale in condition store. More...
 
ServiceHandle< TileCablingSvcm_cablingSvc
 Name of Tile cabling service. More...
 
int m_runPeriod
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
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
 

Detailed Description

Definition at line 59 of file TileMuonReceiverDecision.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TileMuonReceiverDecision()

TileMuonReceiverDecision::TileMuonReceiverDecision ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 40 of file TileMuonReceiverDecision.cxx.

41  : AthReentrantAlgorithm(name, pSvcLocator),
42  m_tileID(nullptr),
43  m_tileHWID(nullptr),
44  m_cablingService(nullptr),
45  m_tileInfo(nullptr),
46  m_runPeriod(0)
47 {
48  // declare properties...
49  declareProperty( "MuonReceiverEneThreshCellD6Low" , m_threshold_d6_lo = 500. , "(RUN2) Setting the lowest trigger threshold for cell D6 in MeV (Def=500 MeV)");
50  declareProperty( "MuonReceiverEneThreshCellD6andD5Low" , m_threshold_d5d6_lo = 500. , "(RUN2) Setting the lowest trigger threshold for cell D5+D6 in MeV (Def=500 MeV)");
51  declareProperty( "MuonReceiverEneThreshCellD6High" , m_threshold_d6_hi = 600. , "(RUN2) Setting the highest trigger threshold for cell D6 in MeV (Def=600 MeV)");
52  declareProperty( "MuonReceiverEneThreshCellD6andD5High" , m_threshold_d5d6_hi = 600. , "(RUN2) Setting the highest trigger threshold for cell D5+D6 in MeV (Def=600 MeV)");
53  declareProperty( "MuonReceiverEneThreshCellD5" , m_threshold_d5 = 500. , "(RUN3) Setting the single threshold for cell D5 during Run 3 in MeV (Def=500 MeV)");
54  declareProperty( "MuonReceiverEneThreshCellD6" , m_threshold_d6 = 500. , "(RUN3) Setting the single threshold for cell D6 during Run 3 in MeV (Def=500 MeV)");
55  declareProperty( "MuonReceiverEneThreshCellD5andD6" , m_threshold_d5d6 = 500. , "(RUN3) Setting the single threshold for cell D5+D6 during Run 3 in MeV (Def=500 MeV)");
56  declareProperty( "SelectionCutForMatchedFilterQf" , m_selCutQf = 0. , "n cut for the quality factor of the matched filters");
57  declareProperty( "TileInfoName" , m_infoName = "TileInfo" );
58 }

◆ ~TileMuonReceiverDecision()

TileMuonReceiverDecision::~TileMuonReceiverDecision ( )
virtual

Definition at line 60 of file TileMuonReceiverDecision.cxx.

61 {
62 }

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
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.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

StatusCode TileMuonReceiverDecision::execute ( const EventContext &  ctx) const
overridevirtual

execute method

Definition at line 96 of file TileMuonReceiverDecision.cxx.

96  {
97 
98  std::vector<float> thresholds;
99 
100  if ( m_runPeriod == 0 ) {
101  ATH_MSG_VERBOSE( "ATT: RUN1 settings TileMuonReceiverDecision will end now" );
102  return StatusCode::SUCCESS;
103  }
104  if ( m_runPeriod == 2 ) {
105  ATH_MSG_VERBOSE( "ATT: RUN2 settings TileMuonReceiverDecsionTool will run now" );
106  ATH_MSG_DEBUG( "Executing TileMuonReceiverDecision" );
107 
108  thresholds.push_back(m_threshold_d5d6_hi);
109  thresholds.push_back(m_threshold_d5d6_lo);
110  thresholds.push_back(m_threshold_d6_hi);
111  thresholds.push_back(m_threshold_d6_lo);
112  }
113  if ( m_runPeriod == 3 ) {
114  ATH_MSG_VERBOSE( "ATT: RUN3 settings TileMuonReceiverDecsionTool will run now" );
115  ATH_MSG_DEBUG( "Executing TileMuonReceiverDecision" );
116 
117  thresholds.push_back(m_threshold_d5);
118  thresholds.push_back(m_threshold_d6);
119  thresholds.push_back(m_threshold_d5d6);
120  }
121 
123  ATH_CHECK( emScale.isValid() );
124 
125  // Get the container with the matched filter reconstructed raw channels in MeV
126  //
128  ATH_CHECK( rawChannelContainer.isValid() );
129 
130  // Vectors for managemnt for TMDB 2015 configuration with inclusion in trigger in 1.1<eta<1.3
131  //
132  std::vector<bool> tile2SL(4,false);
133  std::vector<float> ene(2,0.0);
134  std::vector<float> time(2,0.0);
135 
136  // Create the container to store the decision from the algorithm
137  //
139  ATH_CHECK( decisionContainer.record(std::make_unique<TileMuonReceiverContainer>()) );
140 
141  // Special object with thresholds
142  std::unique_ptr<TileMuonReceiverObj> tileMuRcvObj = std::make_unique<TileMuonReceiverObj>(0,thresholds);
143  decisionContainer->push_back(tileMuRcvObj.release());
144 
145  // Conversion from TMDB channel number the index to channel number in a drawer
146  //
147 #define nEBchan 6
148 #define nLBchan 9
149 #define maxCell 5
150  // EB: D5(L,R),D6(L,R),D4(L,R)
151  int EBchan[nEBchan]={17,16,37,38,3,2};
152  // LB: D0,D1(L,R),D2(L,R),D3(L,R),BC8(L,R)
153  int LBchan[nLBchan]={0,13,14,25,24,41,44,39,40};
154  // Auxiliary array for cell index
155  int EBIdCell[nEBchan]={0,0,1,1,2,2};
156  int LBIdCell[nLBchan]={0,1,1,2,2,3,3,4,4};
157  // Used for validation only not including in container at the moment
158  float energy_HLX[maxCell]={0.,0.,0.,0.,0.};
159  float time_HLX[maxCell]={0.,0.,0.,0.,0.};
160 
161  int suppression_counter = 20;
162  bool suppress_printout = false;
163 
164  for (const TileRawChannelCollection* rawChannelCollection : *rawChannelContainer) {
165 
166  if (rawChannelCollection->empty()) continue;
167 
168  float energy_d5 = 0.0;
169  float energy_d6 = 0.0;
170  float energy_d5d6 = 0.0;
171  float time_d6 = 0.0;
172  float time_d5d6 = 0.0;
173 
174  int ich = 0;
175  int jch6 = 0;
176  int jch56 = 0;
177 
178  int frag_id = rawChannelCollection->identify();
179  int drawerIdx = TileCalibUtils::getDrawerIdxFromFragId(frag_id);
180  int ros = frag_id>>8;
181  bool eb_ros = ((ros == TileHWID::EXTBAR_POS) || (ros == TileHWID::EXTBAR_NEG));
182  int upperLim = (eb_ros) ? nEBchan : nLBchan;
183 
184  if (msgLvl(MSG::VERBOSE)) {
185  int drawer = (frag_id&0xFF);
186  memset(energy_HLX,0,sizeof(energy_HLX));
187  memset(time_HLX,0,sizeof(time_HLX));
188  ATH_MSG_VERBOSE( "(E.0.0) Frag_id: 0x"<< MSG::hex << frag_id << MSG::dec <<" ros: "<< ros <<" drawer: "<< drawer );
189  }
190 
191  for (const TileRawChannel* rawChannel : *rawChannelCollection) {
192 
193  ++ich;
194  // For TMDB channel numbers are being set differently (17,16,37,38)->(D5L,D5r,D6L,D6R)->(0,1,2,3)
195  HWIdentifier adc_id = rawChannel->adc_HWID() ;
196  // TMDB channel is used in COOL and goes from 0..n with n=5 for EB and n=8 in LB
197  int TMDBchan = m_tileHWID->channel(adc_id) ;
198  if ( TMDBchan >= upperLim ) {
199  if ( !suppress_printout ) {
200  if ( suppression_counter-- ) {
201  ATH_MSG_WARNING( "(E.1."<< ich <<") hwid: "<< m_tileHWID->to_string(adc_id,-1) <<" ch: "<< TMDBchan <<" --> Tile ch: UNKNOWN" );
202  }
203  else {
204  ATH_MSG_WARNING( "Too many HWID WARNINGS - suppressing further output - switch to debug mode to view them all" );
205  suppress_printout = true;
206  }
207  }
208  else {
209  ATH_MSG_DEBUG( "(E.1."<< ich <<") hwid: "<< m_tileHWID->to_string(adc_id,-1) <<" ch: "<< TMDBchan <<" --> Tile ch: UNKNOWN" );
210  }
211  continue;
212  }
213  // TILE channel is the Tile HW channel
214  int TILEchan = (eb_ros) ? EBchan[TMDBchan] : LBchan[TMDBchan];
215 
216  float ADC2MeV_factor = emScale->calibrateChannel(drawerIdx, TILEchan, TileID::LOWGAIN, 1.
219  / m_tileInfo->MuRcvCalib(adc_id);
220 
221  float energy = rawChannel->amplitude()*ADC2MeV_factor;
222  float time = rawChannel->time();
223 
224  ATH_MSG_DEBUG( "(E.1."<< ich <<") hwid: "<< m_tileHWID->to_string(adc_id,-1) <<" ch: "<< TMDBchan <<" --> Tile ch: "<< TILEchan );
225  ATH_MSG_DEBUG( " E[ADC]: "<<rawChannel->amplitude()<<" E[MeV]: "<<energy<<" t[ns]: "<<time<<" QF: "<<rawChannel->quality() );
226 
227  if ( eb_ros ) {
228  if ( TMDBchan<4 ) {
229  energy_d5d6 += energy;
230  time_d5d6 += time;
231  ++jch56;
232 
233  if ( TMDBchan==2 || TMDBchan==3 ) { /* choose d6 cell */
234  energy_d6 += energy;
235  time_d6 += time;
236  ++jch6;
237  }
238  if ( TMDBchan==0 || TMDBchan==1 ) { /* choose d5 cell */
239  energy_d5 += energy;
240  }
241 
242  }
243  if (msgLvl(MSG::VERBOSE)) {
244  energy_HLX[EBIdCell[TMDBchan]] += energy;
245  time_HLX[EBIdCell[TMDBchan]] += time;
246  }
247  } else {
248  if (msgLvl(MSG::VERBOSE)) {
249  energy_HLX[LBIdCell[TMDBchan]] += energy;
250  time_HLX[LBIdCell[TMDBchan]] += time;
251  }
252  }
253  }
254 
255  if (msgLvl(MSG::VERBOSE)) {
256  ATH_MSG_VERBOSE( "(X.0.0) Summary of the extended results for HL-LHC: " );
257  if ( eb_ros ) {
258  ATH_MSG_VERBOSE( "(X.1.0) Energy D-5 "<<energy_HLX[0]<<" D-6 "<<energy_HLX[1]<<" D-4 "<<energy_HLX[2] );
259  ATH_MSG_VERBOSE( "(X.2.0) Time D-5 "<<time_HLX[0]/2.<<" D-6 "<<time_HLX[1]/2.<<" D-4 "<<time_HLX[2]/2. );
260  } else {
261  ATH_MSG_VERBOSE( "(X.1.0) Energy D-0 "<<energy_HLX[0]<<" D-1 "<<energy_HLX[1]<<" D-2 "<<energy_HLX[2]<<" D-3 "<<energy_HLX[3]<<" BC-8 "<<energy_HLX[4] );
262  ATH_MSG_VERBOSE( "(X.2.0) Time D-0 "<<time_HLX[0]<<" D-1 "<<time_HLX[1]/2.<<" D-2 "<<time_HLX[2]/2.<<" D-3 "<<time_HLX[3]/2.<<" BC-8 "<<time_HLX[4]/2. );
263  }
264  }
265 
266  if (jch56 == 0) { // neither D5 nor D6 found - nothing to do
267  ATH_MSG_VERBOSE( "== NO trigger for this drawer " );
268  continue;
269  }
270 
271  if (jch56>1) {
272  time_d5d6 /= jch56;
273  if (jch6>1) time_d6 /= jch6;
274  }
275 
276  // A. Above threshold(s)
277  // run2 dual (hi and lo) d5+d6
278  // run3 single d5+d6
279  //
280  bool pass_d5d6_hi = (energy_d5d6>m_threshold_d5d6_hi);
281  bool pass_d5d6_lo = (energy_d5d6>m_threshold_d5d6_lo);
282  bool pass_d5d6 = (energy_d5d6>m_threshold_d5d6);
283  // run2 dual (hi and lo) d6
284  // run3 single d5 and d6
285  bool pass_d6_hi = (energy_d6>m_threshold_d6_hi);
286  bool pass_d6_lo = (energy_d6>m_threshold_d6_lo);
287  bool pass_d5 = (energy_d5>m_threshold_d5);
288  bool pass_d6 = (energy_d6>m_threshold_d6);
289 
290  // B.
291  // (RUN2) Fill a vector with size 4 reproducing the 4-bit word with the structure HLHL:[d5+d6][d6][d5+d6][d6]
292  // vector at 0 (d56hi) is the most significant digit in the 4 bits output
293  // (...)
294  // vector at 3 (d6lo) is the least significant digit in the 4 bits output
295  // (RUN3) Fill a vector with size 4 reproducing the 4-bit word with the structure 0HHH:0[d5+d6][d6][d5]
296  // vector at 0 set to 0
297  // vector at 1 [d5+d6] result
298  // vector at 2 [d6] result
299  // vector at 3 [d5] result
300 
301  // query for RUN2; if false it must be RUN3
302  //
303  if ( m_runPeriod == 2 ) tile2SL = { pass_d5d6_hi, (!pass_d5d6_hi && pass_d5d6_lo), pass_d6_hi, !pass_d6_hi && pass_d6_lo};
304  if ( m_runPeriod == 3 ) tile2SL = { 0, pass_d5d6, pass_d6, pass_d5};
305 
306  // tile2SL[0] = m_run2? pass_d5d6_hi : 0;
307  // tile2SL[1] = m_run2? (!pass_d5d6_hi && pass_d5d6_lo) : pass_d5d6;
308  // tile2SL[2] = m_run2? (pass_d6_hi) : pass_d6;
309  // tile2SL[3] = m_run2? (!pass_d6_hi && pass_d6_lo) : pass_d5;
310 
311  if (msgLvl(MSG::VERBOSE)) {
312  if ( m_runPeriod == 2 ) {
313  ATH_MSG_VERBOSE( "(E.2.0) Summary: e(d5+d6)= " << energy_d5d6 << " e(d6)= " << energy_d6 );
314  ATH_MSG_VERBOSE( "(E.3.0) Thresholds: " << m_threshold_d5d6_lo << " " << m_threshold_d5d6_hi << " " << m_threshold_d6_lo << " " << m_threshold_d6_hi );
315  ATH_MSG_VERBOSE( "(E.4.0) Check which thresholds were passed: d56 high " << pass_d5d6_hi << " d56 low " << pass_d5d6_lo << " d6 high " << pass_d6_hi << " d6 low " << pass_d6_lo );
316  ATH_MSG_VERBOSE( "(E.5.0) Output to SL: " << tile2SL[0] << tile2SL[1] << tile2SL[2] << tile2SL[3] );
317  }
318  if ( m_runPeriod == 3 ) {
319  ATH_MSG_VERBOSE( "(E.2.0) Summary: e(d5+d6)= " << energy_d5d6 << " e(d6)= " << energy_d6 << " e(d5)= " << energy_d5 );
320  ATH_MSG_VERBOSE( "(E.3.0) Thresholds: " << m_threshold_d5d6 << " " << m_threshold_d6 << " " << m_threshold_d5 );
321  ATH_MSG_VERBOSE( "(E.4.0) Check which thresholds were passed: d56 " << pass_d5d6 << " d6 " << pass_d6 << " d5 " << pass_d5 );
322  ATH_MSG_VERBOSE( "(E.5.0) Output to SL: " << tile2SL[0] << tile2SL[1] << tile2SL[2] << tile2SL[3] );
323  }
324  }
325  if (tile2SL[0] || tile2SL[1] || tile2SL[2] || tile2SL[3]) {
326  ene[0] = energy_d5d6; ene[1] = energy_d6;
327  time[0] = time_d5d6 ; time[1] = time_d6;
328  std::unique_ptr<TileMuonReceiverObj> tileMuRcvObj = std::make_unique<TileMuonReceiverObj>(frag_id,ene,time,tile2SL);
329  decisionContainer->push_back(tileMuRcvObj.release());
330  } else {
331  ATH_MSG_VERBOSE( "== NULL trigger not include in container " );
332  }
333  } // end loop over collection
334 
335  if (msgLvl(MSG::DEBUG)) {
336  ATH_MSG_DEBUG( "== Print TileD decision container output to SL" );
337  decisionContainer->print();
338  }
339 
340  ATH_MSG_DEBUG("TileMuonReceiverDecision execution completed" );
341  return StatusCode::SUCCESS;
342 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
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

◆ extraOutputDeps()

const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 79 of file AthReentrantAlgorithm.cxx.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ initialize()

StatusCode TileMuonReceiverDecision::initialize ( )
overridevirtual

initialize method

Definition at line 64 of file TileMuonReceiverDecision.cxx.

64  {
65 
66  ATH_CHECK( m_cablingSvc.retrieve() );
67  m_cablingService = m_cablingSvc->cablingService();
69 
70  if( m_manualRunPeriod.value() > 0 ){
71  ATH_MSG_INFO("Overwriting run period from " << m_runPeriod << " to " << m_manualRunPeriod.value());
73  }
74 
75  bool doTileMuonReceiverCnt = (m_runPeriod > 1);
76  ATH_CHECK( m_rawChannelContainerKey.initialize(doTileMuonReceiverCnt) );
77  ATH_CHECK( m_muonReceiverContainerKey.initialize(doTileMuonReceiverCnt) );
79 
80  if (m_runPeriod == 0) {
81  ATH_MSG_INFO("Stopping ... TileMuonReceiverDecision should not be used for RUN1 simulations");
82  return StatusCode::SUCCESS;
83  } else {
84  ATH_MSG_INFO("Initializing TileMuonReceiverDecision");
85  }
86 
87  //=== retrieve TileID helper from det store
91 
92  ATH_MSG_INFO("TileMuonReceiverDecision initialization completed" );
93  return StatusCode::SUCCESS;
94 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
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.

◆ isClonable()

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ msg() [1/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< Gaudi::Algorithm >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
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.

◆ renounce()

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> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::sysExecute ( const EventContext &  ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 67 of file AthReentrantAlgorithm.cxx.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::sysInitialize ( )
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< Gaudi::Algorithm > >.

Reimplemented in InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_cablingService

const TileCablingService* TileMuonReceiverDecision::m_cablingService
private

TileCabling instance.

Definition at line 88 of file TileMuonReceiverDecision.h.

◆ m_cablingSvc

ServiceHandle<TileCablingSvc> TileMuonReceiverDecision::m_cablingSvc
private
Initial value:
{ this,
"TileCablingSvc", "TileCablingSvc", "The Tile cabling service"}

Name of Tile cabling service.

Definition at line 109 of file TileMuonReceiverDecision.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_emScaleKey

SG::ReadCondHandleKey<TileEMScale> TileMuonReceiverDecision::m_emScaleKey
private
Initial value:
{this,
"TileEMScale", "TileEMScale", "Input Tile EMS calibration constants"}

Name of TileEMScale in condition store.

Definition at line 103 of file TileMuonReceiverDecision.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_infoName

std::string TileMuonReceiverDecision::m_infoName
private

Name of tile info object in TES.

Definition at line 84 of file TileMuonReceiverDecision.h.

◆ m_manualRunPeriod

IntegerProperty TileMuonReceiverDecision::m_manualRunPeriod {this,"ManualRunPeriod",-1}
private

Definition at line 72 of file TileMuonReceiverDecision.h.

◆ m_muonReceiverContainerKey

SG::WriteHandleKey<TileMuonReceiverContainer> TileMuonReceiverDecision::m_muonReceiverContainerKey
private
Initial value:
{this,"TileMuonReceiverContainer",
"TileMuRcvCnt",
"Output Tile muon receiver container key"}

Definition at line 79 of file TileMuonReceiverDecision.h.

◆ m_rawChannelContainerKey

SG::ReadHandleKey<TileRawChannelContainer> TileMuonReceiverDecision::m_rawChannelContainerKey
private
Initial value:
{this,"TileRawChannelContainer",
"MuRcvRawChCnt",
"Input Tile raw channel container key"}

Definition at line 74 of file TileMuonReceiverDecision.h.

◆ m_runPeriod

int TileMuonReceiverDecision::m_runPeriod
private

Definition at line 111 of file TileMuonReceiverDecision.h.

◆ m_selCutQf

float TileMuonReceiverDecision::m_selCutQf
private

Definition at line 98 of file TileMuonReceiverDecision.h.

◆ m_threshold_d5

float TileMuonReceiverDecision::m_threshold_d5
private

Definition at line 95 of file TileMuonReceiverDecision.h.

◆ m_threshold_d5d6

float TileMuonReceiverDecision::m_threshold_d5d6
private

Definition at line 97 of file TileMuonReceiverDecision.h.

◆ m_threshold_d5d6_hi

float TileMuonReceiverDecision::m_threshold_d5d6_hi
private

Definition at line 94 of file TileMuonReceiverDecision.h.

◆ m_threshold_d5d6_lo

float TileMuonReceiverDecision::m_threshold_d5d6_lo
private

Definition at line 93 of file TileMuonReceiverDecision.h.

◆ m_threshold_d6

float TileMuonReceiverDecision::m_threshold_d6
private

Definition at line 96 of file TileMuonReceiverDecision.h.

◆ m_threshold_d6_hi

float TileMuonReceiverDecision::m_threshold_d6_hi
private

Definition at line 92 of file TileMuonReceiverDecision.h.

◆ m_threshold_d6_lo

float TileMuonReceiverDecision::m_threshold_d6_lo
private

Definition at line 91 of file TileMuonReceiverDecision.h.

◆ m_tileHWID

const TileHWID* TileMuonReceiverDecision::m_tileHWID
private

Definition at line 87 of file TileMuonReceiverDecision.h.

◆ m_tileID

const TileID* TileMuonReceiverDecision::m_tileID
private

Definition at line 86 of file TileMuonReceiverDecision.h.

◆ m_tileInfo

const TileInfo* TileMuonReceiverDecision::m_tileInfo
private

Definition at line 89 of file TileMuonReceiverDecision.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
TileMuonReceiverDecision::m_threshold_d5d6_lo
float m_threshold_d5d6_lo
Definition: TileMuonReceiverDecision.h:93
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
TileMuonReceiverDecision::m_tileInfo
const TileInfo * m_tileInfo
Definition: TileMuonReceiverDecision.h:89
AthCommonDataStore::renounce
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)
Definition: AthCommonDataStore.h:380
TileMuonReceiverDecision::m_threshold_d6
float m_threshold_d6
Definition: TileMuonReceiverDecision.h:96
TileMuonReceiverDecision::m_infoName
std::string m_infoName
Name of tile info object in TES.
Definition: TileMuonReceiverDecision.h:84
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
AthCommonMsg< Gaudi::Algorithm >::msgLvl
bool msgLvl(const MSG::Level lvl) const
Definition: AthCommonMsg.h:30
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
TileRawChannelUnit::PicoCoulombs
@ PicoCoulombs
Definition: TileRawChannelUnit.h:18
HWIdentifier
Definition: HWIdentifier.h:13
TileMuonReceiverDecision::m_manualRunPeriod
IntegerProperty m_manualRunPeriod
Definition: TileMuonReceiverDecision.h:72
TileInfo::MuRcvCalib
double MuRcvCalib(const Identifier &) const
Returns the factor which converts amplitude in pCb to ADC counts in Muon Receiver.
Definition: TileInfo.h:114
Example_ReadSampleNoise.drawer
drawer
Definition: Example_ReadSampleNoise.py:39
TileHWID::channel
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
Definition: TileHWID.h:189
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:27
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
TileMuonReceiverDecision::m_runPeriod
int m_runPeriod
Definition: TileMuonReceiverDecision.h:111
TileMuonReceiverDecision::m_selCutQf
float m_selCutQf
Definition: TileMuonReceiverDecision.h:98
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
TileRawChannelUnit::MegaElectronVolts
@ MegaElectronVolts
Definition: TileRawChannelUnit.h:20
TileRawChannel
Definition: TileRawChannel.h:35
TileHWID::EXTBAR_NEG
@ EXTBAR_NEG
Definition: TileHWID.h:71
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
Tile_Base_ID::LOWGAIN
@ LOWGAIN
Definition: Tile_Base_ID.h:57
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
maskDeadModules.ros
ros
Definition: maskDeadModules.py:35
TileMuonReceiverDecision::m_threshold_d5
float m_threshold_d5
Definition: TileMuonReceiverDecision.h:95
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
TileMuonReceiverDecision::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Definition: TileMuonReceiverDecision.h:109
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
TileRawChannelCollection
Definition: TileRawChannelCollection.h:12
TileHWID::EXTBAR_POS
@ EXTBAR_POS
Definition: TileHWID.h:70
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
nEBchan
#define nEBchan
TileMuonReceiverDecision::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileMuonReceiverDecision.h:87
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:76
a
TList * a
Definition: liststreamerinfos.cxx:10
TileMuonReceiverDecision::m_tileID
const TileID * m_tileID
Definition: TileMuonReceiverDecision.h:86
h
TileMuonReceiverDecision::m_cablingService
const TileCablingService * m_cablingService
TileCabling instance.
Definition: TileMuonReceiverDecision.h:88
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
DEBUG
#define DEBUG
Definition: page_access.h:11
TileMuonReceiverDecision::m_threshold_d6_hi
float m_threshold_d6_hi
Definition: TileMuonReceiverDecision.h:92
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
TileMuonReceiverDecision::m_muonReceiverContainerKey
SG::WriteHandleKey< TileMuonReceiverContainer > m_muonReceiverContainerKey
Definition: TileMuonReceiverDecision.h:79
TileMuonReceiverDecision::m_rawChannelContainerKey
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
Definition: TileMuonReceiverDecision.h:74
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
TileAANtupleConfig.rawChannelContainer
rawChannelContainer
Definition: TileAANtupleConfig.py:120
python.Constants.VERBOSE
int VERBOSE
Definition: Control/AthenaCommon/python/Constants.py:14
nLBchan
#define nLBchan
TileHWID::to_string
std::string to_string(const HWIdentifier &id, int level=0) const
extract all fields from HW identifier HWIdentifier get_all_fields ( const HWIdentifier & id,...
Definition: TileHWID.cxx:50
TileMuonReceiverDecision::m_threshold_d6_lo
float m_threshold_d6_lo
Definition: TileMuonReceiverDecision.h:91
TileCablingService::runPeriod
int runPeriod() const
Definition: TileCablingService.h:280
TileCalibUtils::getDrawerIdxFromFragId
static unsigned int getDrawerIdxFromFragId(unsigned int fragId)
Returns a drawer hash from fragId This function assumes drawer context (i.e.
Definition: TileCalibUtils.cxx:71
maxCell
#define maxCell
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
TileMuonReceiverDecision::m_threshold_d5d6
float m_threshold_d5d6
Definition: TileMuonReceiverDecision.h:97
fitman.k
k
Definition: fitman.py:528
TileMuonReceiverDecision::m_emScaleKey
SG::ReadCondHandleKey< TileEMScale > m_emScaleKey
Name of TileEMScale in condition store.
Definition: TileMuonReceiverDecision.h:103
TileMuonReceiverDecision::m_threshold_d5d6_hi
float m_threshold_d5d6_hi
Definition: TileMuonReceiverDecision.h:94
ServiceHandle< ICondSvc >