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 > &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 > &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

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 14 of file TGCOutputModifier.cxx.

15  :
16  AthReentrantAlgorithm(name, pSvcLocator)
17  {
18  }

◆ ~TGCOutputModifier()

LVL1TGCTrigger::TGCOutputModifier::~TGCOutputModifier ( )
virtual

Definition at line 20 of file TGCOutputModifier.cxx.

21  {
22  }

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 }

◆ Copy()

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

Definition at line 135 of file TGCOutputModifier.cxx.

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

◆ 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 LVL1TGCTrigger::TGCOutputModifier::execute ( const EventContext &  eventContext) const
overridevirtual

Regular Gaudi algorithm execute function.

Definition at line 55 of file TGCOutputModifier.cxx.

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

◆ 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 LVL1TGCTrigger::TGCOutputModifier::initialize ( )
overridevirtual

Regular Gaudi algorithm initialization function.

Definition at line 27 of file TGCOutputModifier.cxx.

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

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

◆ 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 154 of file TGCOutputModifier.cxx.

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

◆ 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 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_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::NumberOfForwardSector
@ NumberOfForwardSector
Definition: Lvl1MuCTPIInputPhase1.h:53
LVL1MUONIF::Lvl1MuCTPIInputPhase1::setSectorLogicData
void setSectorLogicData(const Lvl1MuSectorLogicDataPhase1 &data, size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0)
Definition: Lvl1MuCTPIInputPhase1.cxx:74
LVL1::TrigT1MuonRecRoiData
Definition: TrigT1MuonRecRoiData.h:10
Muon::MuonStationIndex::CSS
@ CSS
Definition: MuonStationIndex.h:18
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LVL1MUONIF::Lvl1MuCTPIInputPhase1::idForwardSystem
static size_t idForwardSystem()
Definition: Lvl1MuCTPIInputPhase1.h:138
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
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:70
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
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:160
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:154
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:33
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:47
LVL1MUONIF::Lvl1MuEndcapSectorLogicDataPhase1
Class representing data from an endcap SL board.
Definition: Lvl1MuEndcapSectorLogicDataPhase1.h:26
Muon::MuonStationIndex::EIS
@ EIS
Definition: MuonStationIndex.h:18
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::ovl
int ovl(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:51
LVL1TGCTrigger::TGCOutputModifier::m_etaBoundary1
DoubleProperty m_etaBoundary1
Definition: TGCOutputModifier.h:60
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
xAOD::roiWord
roiWord
Definition: TrigMissingET_v1.cxx:36
LVL1TGCTrigger::TGCOutputModifier::Copy
void Copy(const LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 *sldataOrg, LVL1MUONIF::Lvl1MuSectorLogicDataPhase1 &sldataNew) const
Definition: TGCOutputModifier.cxx:135
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::set2candidatesInSector
void set2candidatesInSector()
Definition: Lvl1MuSectorLogicDataPhase1.h:60
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
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:53
lumiFormat.i
int i
Definition: lumiFormat.py:92
LVL1MUONIF::Lvl1MuCTPIInputPhase1::idSideA
static size_t idSideA()
Definition: Lvl1MuCTPIInputPhase1.h:140
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:158
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::clear2candidates
void clear2candidates(size_t id)
Definition: Lvl1MuSectorLogicDataPhase1.h:69
CaloCondBlobAlgs_fillNoiseFromASCII.systemId
systemId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:108
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
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
LVL1MUONIF::Lvl1MuCTPIInputPhase1::NumberOfEndcapSector
@ NumberOfEndcapSector
Definition: Lvl1MuCTPIInputPhase1.h:52
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:195
LVL1TGCTrigger::TGCOutputModifier::m_musegKey
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_musegKey
Definition: TGCOutputModifier.h:53
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
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::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:76
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:141
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:616
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::roi
int roi(size_t id) const
Definition: Lvl1MuSectorLogicDataPhase1.h:50
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::bcid
int bcid() const
Definition: Lvl1MuSectorLogicDataPhase1.h:48
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::clear2candidatesInSector
void clear2candidatesInSector()
Definition: Lvl1MuSectorLogicDataPhase1.h:61
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
LVL1TGCTrigger::TGCOutputModifier::m_deltaPhiCut2
DoubleProperty m_deltaPhiCut2
Definition: TGCOutputModifier.h:59
LVL1MUONIF::Lvl1MuSectorLogicDataPhase1::is2candidatesInSector
bool is2candidatesInSector() const
Definition: Lvl1MuSectorLogicDataPhase1.h:47
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
LVL1MUONIF::Lvl1MuCTPIInputPhase1::Endcap
@ Endcap
Definition: Lvl1MuCTPIInputPhase1.h:47
LVL1MUONIF::Lvl1MuCTPIInputPhase1::getData
const std::vector< Lvl1MuVectWithBC > & getData(MuonSystem system) const
Definition: Lvl1MuCTPIInputPhase1.h:181
Muon::MuonStationIndex::CSL
@ CSL
Definition: MuonStationIndex.h:18
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >
Muon::MuonStationIndex::EIL
@ EIL
Definition: MuonStationIndex.h:18