|
ATLAS Offline Software
|
level 1 TRT trigger simulation
More...
#include <TrigT1TRT.h>
|
| TrigT1TRT (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | execute (const EventContext &ctx) const override |
|
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 |
|
|
int | BarrelChipToBoard (int chip) const |
|
int | EndcapChipToBoard (int chip) const |
|
int | EndcapStrawNumber (int strawNumber, int strawLayerNumber, int LayerNumber, int phi_stack, int side) const |
|
int | BarrelStrawNumber (int strawNumber, int strawlayerNumber, int LayerNumber) const |
|
int | BarrelStrawLayerNumber (int strawLayerNumber, int LayerNumber) 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...
|
|
|
SG::WriteHandleKey< TrtCTP > | m_trtCTPLocation {this, "TrtCTPLocation", LVL1::DEFAULT_TrtCTPLocation, "Write handle key for TrtCTP"} |
|
SG::ReadHandleKey< TRT_RDO_Container > | m_trtRDOKey {this, "TrtRDOLocation", "TRT_RDOs", "Read handle key for TRT_RDO_Container"} |
|
ToolHandle< ITRT_StrawStatusSummaryTool > | m_ConditionsSummary |
|
ServiceHandle< ITRT_StrawNeighbourSvc > | m_TRTStrawNeighbourSvc |
|
const InDetDD::TRT_DetectorManager * | m_mgr |
|
const TRT_ID * | m_pTRTHelper |
|
Gaudi::Property< int > | m_TTCMultiplicity {this, "TTCMultiplicity", 4, "TTC board multiplicity required to fire the trigger"} |
|
Gaudi::Property< std::string > | m_maskedChipsFile {this, "maskedChipsFile", "TrigT1TRT/fastORmaskedChips.json", "path to file with list of masked chips"} |
|
std::array< std::array< std::vector< int >, 32 >, 2 > | m_maskedChipsBarrel |
|
std::array< std::array< std::vector< int >, 32 >, 2 > | m_maskedChipsEc |
|
unsigned char | m_mat_chip_barrel [64][1642] |
|
unsigned char | m_mat_chip_endcap [64][3840] |
|
int | m_numberOfStraws [75] |
|
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 |
|
level 1 TRT trigger simulation
Definition at line 32 of file TrigT1TRT.h.
◆ StoreGateSvc_t
◆ TrigT1TRT()
LVL1::TrigT1TRT::TrigT1TRT |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ BarrelChipToBoard()
int LVL1::TrigT1TRT::BarrelChipToBoard |
( |
int |
chip | ) |
const |
|
private |
Definition at line 308 of file TrigT1TRT.cxx.
320 int list[] = {10, 11, 15, 9, 9, 11, 12, 13, 14};
324 for (
int i=0;
i<9;
i++) {
326 if (chip <
count)
return i+1;
327 else if (chip == 104)
return 9;
330 throw std::runtime_error(
"Board not found!");
◆ BarrelStrawLayerNumber()
int LVL1::TrigT1TRT::BarrelStrawLayerNumber |
( |
int |
strawLayerNumber, |
|
|
int |
LayerNumber |
|
) |
| const |
|
private |
Definition at line 426 of file TrigT1TRT.cxx.
429 }
else if(LayerNumber==1) {
430 strawLayerNumber+=19;
431 }
else if(LayerNumber==2) {
432 strawLayerNumber+=43;
434 return strawLayerNumber;
◆ BarrelStrawNumber()
int LVL1::TrigT1TRT::BarrelStrawNumber |
( |
int |
strawNumber, |
|
|
int |
strawlayerNumber, |
|
|
int |
LayerNumber |
|
) |
| const |
|
private |
Definition at line 411 of file TrigT1TRT.cxx.
412 int addToStrawNumber=0;
413 int addToStrawNumberNext=0;
422 strawNumber = addToStrawNumberNext - strawNumber-1;
◆ 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.
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation 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.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation 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.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation 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.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation 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.
◆ declareProperty() [6/6]
◆ detStore()
◆ EndcapChipToBoard()
int LVL1::TrigT1TRT::EndcapChipToBoard |
( |
int |
chip | ) |
const |
|
private |
◆ EndcapStrawNumber()
int LVL1::TrigT1TRT::EndcapStrawNumber |
( |
int |
strawNumber, |
|
|
int |
strawLayerNumber, |
|
|
int |
LayerNumber, |
|
|
int |
phi_stack, |
|
|
int |
side |
|
) |
| const |
|
private |
Definition at line 342 of file TrigT1TRT.cxx.
348 static const int TripletOrientation[2][32] = {
361 else if (
side==-2) phi1=31-phi_stack,
side=0;
363 if (TripletOrientation[
side][phi1]){
365 if (strawLayerNumber < 8)strawNumber = strawNumber + 24*strawLayerNumber;
366 if (strawLayerNumber > 7)strawNumber = strawNumber + 24*(strawLayerNumber -8);
367 strawNumber = (192-1)*TripletOrientation[
side][phi1]+strawNumber*(1-2*TripletOrientation[
side][phi1]);
370 if (strawLayerNumber<8) strawLayerNumber =
int(strawNumber/24);
371 if (strawLayerNumber>7) strawLayerNumber =
int(strawNumber/24) + 8;
372 strawNumber = strawNumber%24;
379 if (
side==0) strawNumber = 23 - strawNumber;
387 int strawNumberNew=0;
389 if(LayerNumber<6 && strawLayerNumber>7) {
390 strawNumberNew=strawNumberNew+(384*LayerNumber);
391 strawNumberNew=strawNumberNew+192+(strawLayerNumber%8)+(strawNumber*8);
393 else if(LayerNumber<6 && strawLayerNumber<8) {
394 strawNumberNew=strawNumberNew+(384*LayerNumber);
395 strawNumberNew=strawNumberNew + (strawLayerNumber%8) + (strawNumber*8);
397 else if(LayerNumber>5 && strawLayerNumber>7) {
398 strawNumberNew = strawNumberNew + 2304 + 192*(LayerNumber-6);
399 strawNumberNew = strawNumberNew + 192 + (strawLayerNumber%8) + (8*strawNumber);
401 else if(LayerNumber>5 && strawLayerNumber<8) {
402 strawNumberNew = strawNumberNew + 2304 + 192*(LayerNumber-6);
403 strawNumberNew = strawNumberNew + (strawLayerNumber%8) + (8*strawNumber);
406 strawNumber=strawNumberNew;
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode LVL1::TrigT1TRT::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 169 of file TrigT1TRT.cxx.
172 int barrel_trigger_board[2][32][9] = {{{0}}};
173 int endcap_trigger_board[2][32][20] = {{{0}}};
176 int barrel_trigger_ttc[2][8] = {{0}};
177 int endcap_trigger_ttc[2][16] = {{0}};
184 for (
const auto trtRDO : *trtRDOs) {
187 if(!TRT_Collection) {
193 for (
const auto p_rdo : *TRT_Collection) {
197 Identifier TRT_Identifier = p_rdo->identify();
202 if(!p_lolum)
continue;
205 TRT_Identifier = p_lolum->
identify();
218 if (barrel_ec == 1 || barrel_ec == -1) {
219 int side = barrel_ec>0?1:0;
225 return StatusCode::FAILURE;
230 if(
std::find(maskedChips.begin(), maskedChips.end(), chip) != maskedChips.end())
234 barrel_trigger_board[
side][phi_module][board]++;
238 else if (barrel_ec == 2 || barrel_ec == -2) {
240 int side = barrel_ec>0?1:0;
247 if(
std::find(maskedChips.begin(), maskedChips.end(), chip) != maskedChips.end())
251 endcap_trigger_board[
side][phi_module][board]++;
260 for (
int i=0;
i<2;
i++) {
261 for (
int j=0; j<32; j++) {
262 for (
int k=0;
k<9;
k++) {
263 if (barrel_trigger_board[
i][j][
k]) {
264 barrel_trigger_ttc[
i][j%4]++;
267 for (
int k=0;
k<20;
k++) {
268 if (endcap_trigger_board[
i][j][
k]) {
269 endcap_trigger_ttc[
i][j%2]++;
275 unsigned int cableWord0 = 0;
278 for (
int i=0;
i<2;
i++) {
279 for (
int j=0; j<8; j++) {
284 for (
int j=0; j<16; j++) {
298 ATH_MSG_DEBUG(
"Stored TRT CTP object with bit " << std::dec << cableWord0);
300 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
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.
86 return Algorithm::extraOutputDeps();
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ initialize()
StatusCode LVL1::TrigT1TRT::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 31 of file TrigT1TRT.cxx.
52 std::ifstream
fin(
file.c_str());
55 return StatusCode::FAILURE;
60 m_maskedChipsEc =
data[
"Endcap"].template get<std::array<std::array<std::vector<int>, 32>, 2>>();
63 for(
int j=0; j<75; j++) {
105 int idSide = idBarrelEndcap?1:-1;
108 if (element ==
nullptr)
continue;
110 for(
unsigned int istraw = 0; istraw < element->
nStraws(); istraw++) {
111 if(istraw>element->
nStraws())
continue;
123 if (idLayerWheel == 1) i_chip+=21;
124 if (idLayerWheel == 2) i_chip+=54;
133 int idSide = idBarrelEndcap?2:-2;
140 if (element ==
nullptr)
continue;
142 for(
unsigned int istraw = 0; istraw < element->
nStraws(); istraw++) {
143 if(istraw>element->
nStraws())
continue;
145 int tempStrawNumber =
EndcapStrawNumber(istraw, idStrawLayer, idLayerWheel, idPhiModule, idSide);
162 return StatusCode::SUCCESS;
◆ inputHandles()
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 |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
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()
◆ renounceArray()
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ 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.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ 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.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_ConditionsSummary
◆ m_detStore
◆ m_evtStore
◆ 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_maskedChipsBarrel
std::array<std::array<std::vector<int>, 32>, 2> LVL1::TrigT1TRT::m_maskedChipsBarrel |
|
private |
◆ m_maskedChipsEc
std::array<std::array<std::vector<int>, 32>, 2> LVL1::TrigT1TRT::m_maskedChipsEc |
|
private |
◆ m_maskedChipsFile
◆ m_mat_chip_barrel
unsigned char LVL1::TrigT1TRT::m_mat_chip_barrel[64][1642] |
|
private |
◆ m_mat_chip_endcap
unsigned char LVL1::TrigT1TRT::m_mat_chip_endcap[64][3840] |
|
private |
◆ m_mgr
◆ m_numberOfStraws
int LVL1::TrigT1TRT::m_numberOfStraws[75] |
|
private |
◆ m_pTRTHelper
◆ m_trtCTPLocation
◆ m_trtRDOKey
◆ m_TRTStrawNeighbourSvc
◆ m_TTCMultiplicity
Gaudi::Property<int> LVL1::TrigT1TRT::m_TTCMultiplicity {this, "TTCMultiplicity", 4, "TTC board multiplicity required to fire the trigger"} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
char data[hepevt_bytes_allocation_ATLAS]
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
std::string find(const std::string &s)
return a remapped string
static std::string find_file(const std::string &logical_file_name, const std::string &search_path, SearchType search_type=LocalSearch)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const TRT_BarrelElement * getBarrelElement(unsigned int positive, unsigned int moduleIndex, unsigned int phiIndex, unsigned int strawLayerIndex) const
Access Barrel Elements:---------------—(Fast)-------------------------—.
size_type straw_layer_hash_max(void) const
int EndcapChipToBoard(int chip) const
unsigned int nStraws() const
Number of straws in the element.
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)
int BarrelChipToBoard(int chip) const
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
std::array< std::array< std::vector< int >, 32 >, 2 > m_maskedChipsBarrel
int BarrelStrawNumber(int strawNumber, int strawlayerNumber, int LayerNumber) const
unsigned char m_mat_chip_endcap[64][3840]
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
int EndcapStrawNumber(int strawNumber, int strawLayerNumber, int LayerNumber, int phi_stack, int side) const
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
int straw(const Identifier &id) const
bool highLevel(unsigned int m_word)
AthReentrantAlgorithm()
Default constructor:
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::array< std::array< std::vector< int >, 32 >, 2 > m_maskedChipsEc
const TRT_ID * m_pTRTHelper
const InDetDD::TRT_DetectorManager * m_mgr
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
int layer_or_wheel(const Identifier &id) const
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
const TRT_EndcapElement * getEndcapElement(unsigned int positive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex) const
Access Endcap Elements:---------------—(Fast)--------------------------—.
std::vector< std::string > remainder(const std::vector< std::string > &v1, const std::vector< std::string > &v2)
list of entries in a vector that are not in another
virtual StatusCode sysInitialize() override
Override sysInitialize.
SG::WriteHandleKey< TrtCTP > m_trtCTPLocation
Gaudi::Property< int > m_TTCMultiplicity
int phi_module(const Identifier &id) const
bool is_barrel(const Identifier &id) const
Test for barrel.
Gaudi::Property< std::string > m_maskedChipsFile
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
unsigned char m_mat_chip_barrel[64][1642]
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
ServiceHandle< ITRT_StrawNeighbourSvc > m_TRTStrawNeighbourSvc
virtual Identifier identify() const override final
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
int BarrelStrawLayerNumber(int strawLayerNumber, int LayerNumber) const
SG::ReadHandleKey< TRT_RDO_Container > m_trtRDOKey
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
ToolHandle< ITRT_StrawStatusSummaryTool > m_ConditionsSummary
Identifier straw_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const
Three ways of getting id for a single straw: