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

#include <TGCOutputModifier.h>

Inheritance diagram for LVL1TGCTrigger::TGCOutputModifier:
Collaboration diagram for LVL1TGCTrigger::TGCOutputModifier:

Public Member Functions

 TGCOutputModifier (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~TGCOutputModifier ()
 
virtual StatusCode initialize () override
 Regular Gaudi algorithm initialization function. More...
 
virtual StatusCode execute (const EventContext &eventContext) const override
 Regular Gaudi algorithm execute function. 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, V, H > &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

void Copy (const LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 *sldataOrg, LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 &sldataNew) const
 
void Update (const std::vector< const xAOD::MuonSegment * > &segs, LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 &sldata, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress) const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::ReadHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1m_inputKey {this,"InputMuctpiLocation","L1MuctpiStoreTGC","Input Tgc2Muctpi interface container"}
 
SG::WriteHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1m_outputKey {this, "OutputMuctpiLocation", "L1MuctpiStoreTGCmod", "Output Tgc2Muctpi interface container"}
 
ToolHandle< LVL1::ITrigT1MuonRecRoiToolm_recTGCRoiTool {this,"TrigT1TGCRecRoiTool","LVL1::TrigT1TGCRecRoiTool","hoge"}
 
SG::ReadHandleKey< xAOD::MuonSegmentContainerm_musegKey {this,"MuonSegmentContainer","xaodMuonSegments","MuonSegmentContainer"}
 
DoubleProperty m_deltaThetaCut1 {this,"DeltaThetaCut1", 0.008,"Delta theta cut for MuonSegment in low-eta region"}
 
DoubleProperty m_deltaEtaCut1 {this,"DeltaEtaCut1", 0.09,"Delta eta cut for MuonSegment and RoI position in low-eta region"}
 
DoubleProperty m_deltaPhiCut1 {this,"DeltaPhiCut1", 0.16,"Delta phi cut for MuonSegment and RoI position in low-eta region"}
 
DoubleProperty m_deltaThetaCut2 {this,"DeltaThetaCut2", 0.001,"Delta theta cut for MuonSegment in high-eta region"}
 
DoubleProperty m_deltaEtaCut2 {this,"DeltaEtaCut2", 0.16,"Delta eta cut for MuonSegment and RoI position in high-eta region"}
 
DoubleProperty m_deltaPhiCut2 {this,"DeltaPhiCut2", 0.19,"Delta phi cut for MuonSegment and RoI position in high-eta region"}
 
DoubleProperty m_etaBoundary1 {this,"EtaBoundary1", 1.9,"Eta boundary where the cuts1 are applied"}
 
DoubleProperty m_etaBoundary2 {this,"EtaBoundary2", 2.1,"Eta boundary where the cuts2 are applied"}
 
BooleanProperty m_emulateA {this,"EmulateA", true,"Emulate A-side"}
 
BooleanProperty m_emulateC {this,"EmulateC", true,"Emulate C-side"}
 
BooleanProperty m_nswVetoMode {this,"NSWVetoMode", true,"NSW veto mode or monitoring mode"}
 
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 27 of file TGCOutputModifier.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

◆ TGCOutputModifier()

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

Definition at line 19 of file TGCOutputModifier.cxx.

20  :
21  AthReentrantAlgorithm(name, pSvcLocator)
22  {
23  }

◆ ~TGCOutputModifier()

LVL1TGCTrigger::TGCOutputModifier::~TGCOutputModifier ( )
virtualdefault

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality
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 75 of file AthCommonReentrantAlgorithm.cxx.

64 {
65  return 0;
66 }

◆ Copy()

void LVL1TGCTrigger::TGCOutputModifier::Copy ( const LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 sldataOrg,
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 sldataNew 
) const
private

Definition at line 136 of file TGCOutputModifier.cxx.

138  {
139  sldataNew.clear2candidatesInSector();
140  if(sldataOrg->is2candidatesInSector()) sldataNew.set2candidatesInSector();
141  sldataNew.bcid(sldataOrg->bcid());
142  for (unsigned int icand=0;
143  icand<LVL1MUONIF::NCAND[LVL1MUONIF::Lvl1MuCTPIInputPhase1::Endcap];icand++){
144  sldataNew.roi(icand,sldataOrg->roi(icand));
145  sldataNew.pt(icand,sldataOrg->pt(icand));
146  sldataNew.ovl(icand,sldataOrg->ovl(icand));
147  sldataNew.charge(icand,sldataOrg->charge(icand));
148  sldataNew.bw2or3(icand,sldataOrg->bw2or3(icand));
149  sldataNew.goodmf(icand,sldataOrg->goodmf(icand));
150  sldataNew.innercoin(icand,sldataOrg->innercoin(icand));
151  sldataNew.clear2candidates(icand);
152  if(sldataOrg->is2candidates(icand))sldataNew.set2candidates(icand);
153  }
154  }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > &  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, V, H > &  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, V, H > &  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, V, H > &  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, V, H > &  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 LVL1TGCTrigger::TGCOutputModifier::execute ( const EventContext &  eventContext) const
overridevirtual

Regular Gaudi algorithm execute function.

Definition at line 58 of file TGCOutputModifier.cxx.

59  {
61  if(!rh_muctpiTgc.isValid()){
62  ATH_MSG_ERROR("Cannot retrieve LVL1MUONIF::Lvl1MuCTPIInputPhase1");
63  return StatusCode::FAILURE;
64  }
65  const LVL1MUONIF::Lvl1MuCTPIInputPhase1* inTgc2Muctpi = rh_muctpiTgc.cptr();
66 
67  std::vector<const xAOD::MuonSegment*> muSegDataColl;
68  if( m_nswVetoMode.value() ){
70  if(!rh_museg.isValid()){
71  ATH_MSG_ERROR("Cannot retrieve xAOD::MuonSegmentContainer");
72  return StatusCode::FAILURE;
73  }
74  const xAOD::MuonSegmentContainer* muSegContainer = rh_museg.cptr();
75  for(auto seg : *muSegContainer){
76  if(seg->chamberIndex() != ChIdx::EIS && seg->chamberIndex() != ChIdx::EIL &&
77  seg->chamberIndex() != ChIdx::CSS && seg->chamberIndex() != ChIdx::CSL ) continue;
78  muSegDataColl.push_back(seg);
79  }
80  }
81 
83  ATH_CHECK(wh_muctpiTgc.record(std::make_unique<LVL1MUONIF::Lvl1MuCTPIInputPhase1>()));
84  LVL1MUONIF::Lvl1MuCTPIInputPhase1* outTgc2Muctpi = wh_muctpiTgc.ptr();
85 
88  LVL1MUONIF::Lvl1MuCTPIInputPhase1::MuonSystem::Forward};
89  for(auto isys : tgc_systems){
90  auto data = &inTgc2Muctpi->getData(isys); // const std::vector<Lvl1MuVectWithBC>&
91  for(auto bcmu : *data){ // Lvl1MuVectWithBC
92  int bcid = bcmu.first;
93  auto muvec = bcmu.second; // Lvl1MuVect
94  for(size_t i = 0 ; i < muvec.size() ; i++){ // i = system index = MaxSectors * Side + Sectors
95  auto sectorData = muvec.at(i).get();// std::shared_ptr <Lvl1MuSectorLogicDataPhase1>
96  if(!sectorData){
97  ATH_MSG_WARNING("sectorData is null!");
98  continue;
99  }
102  size_t isub = (i<numberOfSectors)
103  ?(LVL1MUONIF::Lvl1MuCTPIInputPhase1::MuonSubSystem::C_side):(LVL1MUONIF::Lvl1MuCTPIInputPhase1::MuonSubSystem::A_side);
104  size_t isec = i % numberOfSectors;
105  if(i != inTgc2Muctpi->getSystemIndex(isys,isub,isec)){
106  ATH_MSG_WARNING("System Index Mismatch!!");
107  continue;
108  }
110  Copy(sectorData,sldata);
111  Update(muSegDataColl,sldata,isys,isub,isec);
112  outTgc2Muctpi->setSectorLogicData(sldata,isys,isub,isec,bcid);
113  }else if(isys==LVL1MUONIF::Lvl1MuCTPIInputPhase1::MuonSystem::Forward){
115  size_t isub = (i<numberOfSectors)
116  ?(LVL1MUONIF::Lvl1MuCTPIInputPhase1::MuonSubSystem::C_side):(LVL1MUONIF::Lvl1MuCTPIInputPhase1::MuonSubSystem::A_side);
117  size_t isec = i % numberOfSectors;
118  if(i != inTgc2Muctpi->getSystemIndex(isys,isub,isec)){
119  ATH_MSG_WARNING("System Index Mismatch!!");
120  continue;
121  }
123  Copy(sectorData,sldata);
124  Update(muSegDataColl,sldata,isys,isub,isec);
125  outTgc2Muctpi->setSectorLogicData(sldata,isys,isub,isec,bcid);
126  }else{
127  ATH_MSG_WARNING("Unknown system. Barrel? isys="<<isys);
128  }
129  }
130  }
131  }
132 
133  return StatusCode::SUCCESS;
134  }

◆ 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 & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90 {
91  // If we didn't find any symlinks to add, just return the collection
92  // from the base class. Otherwise, return the extended collection.
93  if (!m_extendedExtraObjects.empty()) {
95  }
96  return BaseAlg::extraOutputDeps();
97 }

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96  {
97  return execState( ctx ).filterPassed();
98  }

◆ initialize()

StatusCode LVL1TGCTrigger::TGCOutputModifier::initialize ( )
overridevirtual

Regular Gaudi algorithm initialization function.

Definition at line 30 of file TGCOutputModifier.cxx.

31  {
32  ATH_MSG_INFO( "=======================================" );
33  ATH_MSG_INFO( "Initialisation for TGCOutputModifier" );
34  ATH_MSG_INFO( "NSWVetoMode="<<m_nswVetoMode.value());
35  ATH_MSG_INFO( "EmulateA="<<m_emulateA.value());
36  ATH_MSG_INFO( "EmulateC="<<m_emulateC.value());
37  ATH_MSG_INFO( "EtaBoundary1="<<m_etaBoundary1.value() );
38  ATH_MSG_INFO( "DeltaEtaCut1="<<m_deltaEtaCut1.value() );
39  ATH_MSG_INFO( "DeltaPhiCut1="<<m_deltaPhiCut1.value() );
40  ATH_MSG_INFO( "DeltaThetaCut1="<<m_deltaThetaCut1.value() );
41  ATH_MSG_INFO( "EtaBoundary2="<<m_etaBoundary2.value() );
42  ATH_MSG_INFO( "DeltaEtaCut2="<<m_deltaEtaCut2.value() );
43  ATH_MSG_INFO( "DeltaPhiCut2="<<m_deltaPhiCut2.value() );
44  ATH_MSG_INFO( "DeltaThetaCut2="<<m_deltaThetaCut2.value() );
45  ATH_MSG_INFO( "InputMuctpiLocation="<<m_inputKey.key() );
46  ATH_MSG_INFO( "OutputMuctpiLocation="<<m_outputKey.key() );
47  ATH_MSG_INFO( "MuonSegmentContainer="<<m_musegKey.key() );
48  ATH_MSG_INFO( "=======================================" );
49 
52  ATH_CHECK(m_recTGCRoiTool.retrieve());
54  return StatusCode::SUCCESS;
55  }

◆ 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 AthCommonReentrantAlgorithm< Gaudi::Algorithm >::isClonable
overridevirtualinherited

Specify if the algorithm is clonable.

Reentrant algorithms are clonable.

Definition at line 68 of file AthCommonReentrantAlgorithm.cxx.

52 {
53  // Reentrant algorithms are clonable.
54  return true;
55 }

◆ 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 AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100  {
101  execState( ctx ).setFilterPassed( state );
102  }

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::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 85 of file AthCommonReentrantAlgorithm.cxx.

77 {
78  return BaseAlg::sysExecute (ctx);
79 }

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::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 61 of file AthCommonReentrantAlgorithm.cxx.

107  {
109 
110  if (sc.isFailure()) {
111  return sc;
112  }
113 
114  ServiceHandle<ICondSvc> cs("CondSvc",name());
115  for (auto h : outputHandles()) {
116  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117  // do this inside the loop so we don't create the CondSvc until needed
118  if ( cs.retrieve().isFailure() ) {
119  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120  return StatusCode::SUCCESS;
121  }
122  if (cs->regHandle(this,*h).isFailure()) {
123  sc = StatusCode::FAILURE;
124  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125  << " with CondSvc");
126  }
127  }
128  }
129  return sc;
130 }

◆ 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.

◆ Update()

void LVL1TGCTrigger::TGCOutputModifier::Update ( const std::vector< const xAOD::MuonSegment * > &  segs,
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 sldata,
size_t  systemAddress,
size_t  subSystemAddress,
size_t  sectorAddress 
) const
private

Definition at line 155 of file TGCOutputModifier.cxx.

160  {
161  if(subSystemId==LVL1MUONIF::Lvl1MuCTPIInputPhase1::idSideA() && !m_emulateA.value()) return;
162  if(subSystemId==LVL1MUONIF::Lvl1MuCTPIInputPhase1::idSideC() && !m_emulateC.value()) return;
163  int tmpside = (subSystemId==LVL1MUONIF::Lvl1MuCTPIInputPhase1::idSideA())?(1):(0);
164  int tmpsector = sectorId;
166  unsigned int sectorAddress = (tmpside) + (tmpsector<<1) + (tmptype<<6);
167  for (unsigned int icand=0;
168  icand<LVL1MUONIF::NCAND[LVL1MUONIF::Lvl1MuCTPIInputPhase1::Endcap];icand++){
169  if(sldata.pt(icand)<0)continue;
170  int roi = sldata.roi(icand);
171  unsigned long int roiWord = (roi<<2)+(sectorAddress<<14);
173  if( !m_recTGCRoiTool->roiData(roiWord,roiData).isSuccess() )continue;
174  TVector3 roiPos;
175  roiPos.SetPtEtaPhi(10,roiData.eta(),roiData.phi());
176  if( std::abs(roiPos.Eta()) < 1.3 ) continue; // only NSW region
177  ATH_MSG_DEBUG("RoI pT=" << sldata.pt(icand)
178  << " roiEta=" << roiPos.Eta()
179  << " roiPhi=" << roiPos.Phi()
180  << " flagF=" << sldata.bw2or3(icand)
181  << " flagC=" << sldata.innercoin(icand)
182  << " flagH=" << sldata.goodmf(icand) );
183  bool matched = !m_nswVetoMode.value();
184  double deltaEtaCut=0,deltaPhiCut=0,deltaThetaCut=0;
185  if( std::abs(roiPos.Eta()) < m_etaBoundary1.value() ){
186  deltaEtaCut=m_deltaEtaCut1.value();
187  deltaPhiCut=m_deltaPhiCut1.value();
188  deltaThetaCut=m_deltaThetaCut1.value();
189  }else if( std::abs(roiPos.Eta()) > m_etaBoundary2.value() ){
190  deltaEtaCut=m_deltaEtaCut2.value();
191  deltaPhiCut=m_deltaPhiCut2.value();
192  deltaThetaCut=m_deltaThetaCut2.value();
193  }else{
194  matched = true;
195  }
196  for(const auto seg : muSegDataColl){
197  TVector3 segPos(seg->x(),seg->y(),seg->z());
198  TVector3 segVec(seg->px(),seg->py(),seg->pz());
199  float deltaEta = std::abs( segPos.Eta() - roiPos.Eta() );
200  float deltaPhi = std::abs( segPos.DeltaPhi( roiPos ) );
201  float deltaTheta = std::abs( segVec.Theta() - segPos.Theta() );
202  bool tmpmatched = (deltaEta < deltaEtaCut && deltaPhi < deltaPhiCut && deltaTheta < deltaThetaCut);
203  ATH_MSG_DEBUG(" matched=" << tmpmatched
204  << " RoI pT=" << sldata.pt(icand)
205  << " roiEta=" << roiPos.Eta()
206  << " roiPhi=" << roiPos.Phi()
207  << " segEta=" << segPos.Eta()
208  << " segPhi=" << segPos.Phi()
209  << " segEtaVec=" << segVec.Eta()
210  << " segPhiVec=" << segVec.Phi()
211  << " chi2=" << seg->chiSquared()
212  << " ndof=" << seg->numberDoF()
213  << " sector=" << seg->sector()
214  << " etaIndex=" << seg->etaIndex()
215  << " technology=" << Muon::MuonStationIndex::technologyName(seg->technology())
216  << " nPrecisionHits=" << seg->nPrecisionHits()
217  << " nPhiLayers=" << seg->nPhiLayers()
218  << " nTrigEtaLayers=" << seg->nTrigEtaLayers()
219  << " deltaEta=" << deltaEta
220  << " deltaPhi=" << deltaPhi
221  << " deltaTheta=" << deltaTheta);
222  matched |= tmpmatched;
223  }
224  sldata.innercoin(icand,matched);
225  }
226  }

◆ 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_deltaEtaCut1

DoubleProperty LVL1TGCTrigger::TGCOutputModifier::m_deltaEtaCut1 {this,"DeltaEtaCut1", 0.09,"Delta eta cut for MuonSegment and RoI position in low-eta region"}
private

Definition at line 55 of file TGCOutputModifier.h.

◆ m_deltaEtaCut2

DoubleProperty LVL1TGCTrigger::TGCOutputModifier::m_deltaEtaCut2 {this,"DeltaEtaCut2", 0.16,"Delta eta cut for MuonSegment and RoI position in high-eta region"}
private

Definition at line 58 of file TGCOutputModifier.h.

◆ m_deltaPhiCut1

DoubleProperty LVL1TGCTrigger::TGCOutputModifier::m_deltaPhiCut1 {this,"DeltaPhiCut1", 0.16,"Delta phi cut for MuonSegment and RoI position in low-eta region"}
private

Definition at line 56 of file TGCOutputModifier.h.

◆ m_deltaPhiCut2

DoubleProperty LVL1TGCTrigger::TGCOutputModifier::m_deltaPhiCut2 {this,"DeltaPhiCut2", 0.19,"Delta phi cut for MuonSegment and RoI position in high-eta region"}
private

Definition at line 59 of file TGCOutputModifier.h.

◆ m_deltaThetaCut1

DoubleProperty LVL1TGCTrigger::TGCOutputModifier::m_deltaThetaCut1 {this,"DeltaThetaCut1", 0.008,"Delta theta cut for MuonSegment in low-eta region"}
private

Definition at line 54 of file TGCOutputModifier.h.

◆ m_deltaThetaCut2

DoubleProperty LVL1TGCTrigger::TGCOutputModifier::m_deltaThetaCut2 {this,"DeltaThetaCut2", 0.001,"Delta theta cut for MuonSegment in high-eta region"}
private

Definition at line 57 of file TGCOutputModifier.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_emulateA

BooleanProperty LVL1TGCTrigger::TGCOutputModifier::m_emulateA {this,"EmulateA", true,"Emulate A-side"}
private

Definition at line 62 of file TGCOutputModifier.h.

◆ m_emulateC

BooleanProperty LVL1TGCTrigger::TGCOutputModifier::m_emulateC {this,"EmulateC", true,"Emulate C-side"}
private

Definition at line 63 of file TGCOutputModifier.h.

◆ m_etaBoundary1

DoubleProperty LVL1TGCTrigger::TGCOutputModifier::m_etaBoundary1 {this,"EtaBoundary1", 1.9,"Eta boundary where the cuts1 are applied"}
private

Definition at line 60 of file TGCOutputModifier.h.

◆ m_etaBoundary2

DoubleProperty LVL1TGCTrigger::TGCOutputModifier::m_etaBoundary2 {this,"EtaBoundary2", 2.1,"Eta boundary where the cuts2 are applied"}
private

Definition at line 61 of file TGCOutputModifier.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 AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_inputKey

SG::ReadHandleKey<LVL1MUONIF::Lvl1MuCTPIInputPhase1> LVL1TGCTrigger::TGCOutputModifier::m_inputKey {this,"InputMuctpiLocation","L1MuctpiStoreTGC","Input Tgc2Muctpi interface container"}
private

Definition at line 50 of file TGCOutputModifier.h.

◆ m_musegKey

SG::ReadHandleKey<xAOD::MuonSegmentContainer> LVL1TGCTrigger::TGCOutputModifier::m_musegKey {this,"MuonSegmentContainer","xaodMuonSegments","MuonSegmentContainer"}
private

Definition at line 53 of file TGCOutputModifier.h.

◆ m_nswVetoMode

BooleanProperty LVL1TGCTrigger::TGCOutputModifier::m_nswVetoMode {this,"NSWVetoMode", true,"NSW veto mode or monitoring mode"}
private

Definition at line 64 of file TGCOutputModifier.h.

◆ m_outputKey

SG::WriteHandleKey<LVL1MUONIF::Lvl1MuCTPIInputPhase1> LVL1TGCTrigger::TGCOutputModifier::m_outputKey {this, "OutputMuctpiLocation", "L1MuctpiStoreTGCmod", "Output Tgc2Muctpi interface container"}
private

Definition at line 51 of file TGCOutputModifier.h.

◆ m_recTGCRoiTool

ToolHandle<LVL1::ITrigT1MuonRecRoiTool> LVL1TGCTrigger::TGCOutputModifier::m_recTGCRoiTool {this,"TrigT1TGCRecRoiTool","LVL1::TrigT1TGCRecRoiTool","hoge"}
private

Definition at line 52 of file TGCOutputModifier.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:
LVL1MUONIF::Lvl1MuCTPIInputPhase1::setSectorLogicData
void setSectorLogicData(const Lvl1MuSectorLogicDataPhase1 &data, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0)
Definition: Lvl1MuCTPIInputPhase1.cxx:69
LVL1::TrigT1MuonRecRoiData
Definition: TrigT1MuonRecRoiData.h:10
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LVL1MUONIF::Lvl1MuCTPIInputPhase1::idForwardSystem
static size_t idForwardSystem()
Definition: Lvl1MuCTPIInputPhase1.h:139
CSS
@ CSS
Definition: ParabolaCscClusterFitter.h:25
DetType::Endcap
@ Endcap
Definition: DetType.h:14
LVL1TGCTrigger::TGCOutputModifier::m_outputKey
SG::WriteHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1 > m_outputKey
Definition: TGCOutputModifier.h:51
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:67
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::innercoin
int innercoin(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:56
xAOD::deltaPhi
setSAddress setEtaMS setDirPhiMS setDirZMS setBarrelRadius setEndcapAlpha setEndcapRadius setInterceptInner setEtaMap setEtaBin setIsTgcFailure setDeltaPt deltaPhi
Definition: L2StandAloneMuon_v1.cxx:161
LVL1TGCTrigger::TGCOutputModifier::Update
void Update(const std::vector< const xAOD::MuonSegment * > &segs, LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 &sldata, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress) const
Definition: TGCOutputModifier.cxx:155
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
LVL1MUONIF::Lvl1MuCTPIInputPhase1
Class representing (part of) the input data to the MuCTPI for Phase 1.
Definition: Lvl1MuCTPIInputPhase1.h:34
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
LVL1::TrigT1MuonRecRoiData::eta
double eta(void) const
Definition: TrigT1MuonRecRoiData.h:22
LVL1TGCTrigger::TGCOutputModifier::m_deltaThetaCut2
DoubleProperty m_deltaThetaCut2
Definition: TGCOutputModifier.h:57
LVL1TGCTrigger::TGCOutputModifier::m_emulateC
BooleanProperty m_emulateC
Definition: TGCOutputModifier.h:63
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::bw2or3
int bw2or3(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:57
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
LVL1TGCTrigger::TGCOutputModifier::m_emulateA
BooleanProperty m_emulateA
Definition: TGCOutputModifier.h:62
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
LVL1MUONIF::Lvl1MuCTPIInputPhase1::MuonSystem
MuonSystem
Definition: Lvl1MuCTPIInputPhase1.h:48
LVL1MUONIF::Lvl1MuEndcapSectorLogicDataPhase1
Class representing data from an endcap SL board.
Definition: Lvl1MuEndcapSectorLogicDataPhase1.h:26
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::ovl
int ovl(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:51
LVL1TGCTrigger::TGCOutputModifier::m_etaBoundary1
DoubleProperty m_etaBoundary1
Definition: TGCOutputModifier.h:60
Muon::MuonStationIndex::numberOfSectors
constexpr unsigned numberOfSectors()
return total number of sectors
Definition: MuonStationIndex.h:118
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
LVL1TGCTrigger::TGCOutputModifier::Copy
void Copy(const LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 *sldataOrg, LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 &sldataNew) const
Definition: TGCOutputModifier.cxx:136
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::set2candidatesInSector
void set2candidatesInSector()
Definition: Lvl1MuSectorLogicDataPhase1.h:60
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
AthCommonReentrantAlgorithm::extraOutputDeps
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
Definition: AthCommonReentrantAlgorithm.cxx:89
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:209
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
P4Helpers::deltaEta
double deltaEta(const I4Momentum &p1, const I4Momentum &p2)
Computes efficiently .
Definition: P4Helpers.h:66
lumiFormat.i
int i
Definition: lumiFormat.py:85
LVL1MUONIF::Lvl1MuCTPIInputPhase1::idSideA
static size_t idSideA()
Definition: Lvl1MuCTPIInputPhase1.h:141
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1TGCTrigger::TGCOutputModifier::m_deltaThetaCut1
DoubleProperty m_deltaThetaCut1
Definition: TGCOutputModifier.h:54
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
LVL1MUONIF::Lvl1MuCTPIInputPhase1::getSystemIndex
size_t getSystemIndex(size_t systemAddress, size_t subSystemAddress, size_t sectorAddress) const
Definition: Lvl1MuCTPIInputPhase1.h:159
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Definition: AthCommonDataStore.h:145
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::clear2candidates
void clear2candidates(size_t id)
Definition: Lvl1MuSectorLogicDataPhase1.h:69
AthCommonReentrantAlgorithm::sysExecute
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
Definition: AthCommonReentrantAlgorithm.cxx:76
CaloCondBlobAlgs_fillNoiseFromASCII.systemId
systemId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:107
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::charge
int charge(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:53
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
LVL1::TrigT1MuonRecRoiData::phi
double phi(void) const
Definition: TrigT1MuonRecRoiData.h:23
Muon::MuonStationIndex::technologyName
const std::string & technologyName(TechnologyIndex index)
convert LayerIndex into a string
Definition: MuonStationIndex.cxx:169
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
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
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::set2candidates
void set2candidates(size_t id)
Definition: Lvl1MuSectorLogicDataPhase1.h:68
LVL1TGCTrigger::TGCOutputModifier::m_nswVetoMode
BooleanProperty m_nswVetoMode
Definition: TGCOutputModifier.h:64
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LVL1TGCTrigger::TGCOutputModifier::m_musegKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_musegKey
Definition: TGCOutputModifier.h:53
LVL1TGCTrigger::TGCOutputModifier::m_inputKey
SG::ReadHandleKey< LVL1MUONIF::Lvl1MuCTPIInputPhase1 > m_inputKey
Definition: TGCOutputModifier.h:50
LVL1TGCTrigger::TGCOutputModifier::m_deltaEtaCut2
DoubleProperty m_deltaEtaCut2
Definition: TGCOutputModifier.h:58
python.ElectronD3PDObject.matched
matched
Definition: ElectronD3PDObject.py:138
LVL1MUONIF::Lvl1MuForwardSectorLogicDataPhase1
Class representing data from an forward SL board.
Definition: Lvl1MuForwardSectorLogicDataPhase1.h:26
LVL1TGCTrigger::TGCOutputModifier::m_deltaPhiCut1
DoubleProperty m_deltaPhiCut1
Definition: TGCOutputModifier.h:56
xAOD::bcid
setEventNumber setTimeStamp bcid
Definition: EventInfo_v1.cxx:133
LVL1MUONIF::Lvl1MuCTPIInputPhase1::NumberOfEndcapSector
@ NumberOfEndcapSector
Definition: Lvl1MuCTPIInputPhase1.h:53
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::goodmf
int goodmf(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:55
LVL1TGCTrigger::TGCOutputModifier::m_deltaEtaCut1
DoubleProperty m_deltaEtaCut1
Definition: TGCOutputModifier.h:55
SG::WriteHandle
Definition: StoreGate/StoreGate/WriteHandle.h:73
LVL1MUONIF::Lvl1MuCTPIInputPhase1::NumberOfForwardSector
@ NumberOfForwardSector
Definition: Lvl1MuCTPIInputPhase1.h:54
a
TList * a
Definition: liststreamerinfos.cxx:10
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::pt
int pt(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:52
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
LVL1MUONIF::Lvl1MuCTPIInputPhase1::idSideC
static size_t idSideC()
Definition: Lvl1MuCTPIInputPhase1.h:142
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::is2candidates
bool is2candidates(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:54
LVL1TGCTrigger::TGCOutputModifier::m_etaBoundary2
DoubleProperty m_etaBoundary2
Definition: TGCOutputModifier.h:61
LVL1TGCTrigger::TGCOutputModifier::m_recTGCRoiTool
ToolHandle< LVL1::ITrigT1MuonRecRoiTool > m_recTGCRoiTool
Definition: TGCOutputModifier.h:52
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:629
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::roi
int roi(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:50
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::bcid
int bcid() const
Definition: Lvl1MuSectorLogicDataPhase1.h:48
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthCommonReentrantAlgorithm.cxx:107
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:801
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::clear2candidatesInSector
void clear2candidatesInSector()
Definition: Lvl1MuSectorLogicDataPhase1.h:61
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
CSL
@ CSL
Definition: ParabolaCscClusterFitter.h:25
LVL1TGCTrigger::TGCOutputModifier::m_deltaPhiCut2
DoubleProperty m_deltaPhiCut2
Definition: TGCOutputModifier.h:59
AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthCommonReentrantAlgorithm.h:114
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::is2candidatesInSector
bool is2candidatesInSector() const
Definition: Lvl1MuSectorLogicDataPhase1.h:47
LVL1MUONIF::Lvl1MuCTPIInputPhase1::Endcap
@ Endcap
Definition: Lvl1MuCTPIInputPhase1.h:48
LVL1MUONIF::Lvl1MuCTPIInputPhase1::getData
const std::vector< Lvl1MuVectWithBC > & getData(MuonSystem system) const
Definition: Lvl1MuCTPIInputPhase1.h:182
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >