5#ifndef TRT_STRAWNEIGHBOURSVC_H
6#define TRT_STRAWNEIGHBOURSVC_H
16#include "GaudiKernel/ServiceHandle.h"
82 std::vector<unsigned int>
m_m1;
83 std::vector<unsigned int>
m_m2;
84 std::vector<unsigned int>
m_m3;
108inline int sign(
int a) {
return (
a == 0) ? 0 : (
a<0 ? -1 : 1); }
112 if ((strawnumber%1642)<=329) mod =1;
113 else if ((strawnumber%1642)<=(329+520)) mod =2;
114 else if ((strawnumber%1642)<=(329+520+793)) mod =3;
Abstract interface to information on straws electronic grouping.
int getModuleType(int strawnumber)
The Athena Transient Store API.
Identifier for TRT detector elements in the conditions code.
This is an Identifier helper class for the TRT subdetector.
std::vector< double > m_chip_vector1
int m_chipConversionSocketToChip_m3[51]
std::vector< unsigned int > m_m3
virtual ~TRT_StrawNeighbourSvc()
destructor
std::vector< unsigned int > m_layer_m3
int m_chipConversionSocketToChip_m2[34]
void getSocket(Identifier offlineID, int &socket)
void getStrawsFromPad(Identifier offlineID, std::vector< Identifier > &neighbourIDs)
std::vector< unsigned int > m_layer_m2_acc
ServiceHandle< StoreGateSvc > m_detStore
TRT_StrawNeighbourSvc(const std::string &name, ISvcLocator *pSvcLocator)
constructor
std::vector< unsigned int > m_layer_m1
std::vector< unsigned int > m_layer_m1_acc
int strawLayerNumber(Identifier id)
int getRing(const Identifier &id)
void getPin(Identifier offlineID, int &pin)
int m_chipConversionChipToSocket_m3[51]
int chipToBoardBarrel(int chip, int layer)
std::vector< unsigned int > m_m2
std::vector< unsigned int > m_layer_m2
int m_endcapChipMapC0[12]
void getPad(Identifier offlineID, int &pad)
public methods
int m_endcapChipMapC8[12]
int m_endcapChipMapA0[12]
int getRunningNumbering(Identifier offlineID)
virtual StatusCode initialize()
tool initialize
void getChip(Identifier offlineID, int &chip)
TRTCond::ExpandedIdentifier getFirstStrawFromChip(Identifier offlineID)
void getStrawsFromChip(Identifier offlineID, std::vector< Identifier > &neighbourIDs)
int m_chipConversionChipToSocket_m2[34]
int strawNumber(Identifier id)
std::vector< unsigned int > m_m1
std::vector< double > m_chip_vector2
int m_chipConversionSocketToChip_m1[22]
virtual StatusCode finalize()
tool finalize
int m_TripletOrientation[2][32]
std::vector< std::vector< std::vector< int > > > m_chip_to_straw
int m_endcapChipMapA8[12]
std::vector< std::vector< std::vector< int > > > m_pad_to_straw
std::vector< unsigned int > m_layer_m3_acc
int m_chipConversionChipToSocket_m1[22]
void getAtlasIdentifier(int strawnumber, Identifier &outputID, Identifier inputID)
std::vector< double > m_chip_vector3
static int chipToBoardEndCap(int chip)