ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_StrawNeighbourSvc.h File Reference

Service to information on straws electronic grouping Developed for the study of noise correlations between straws. More...

#include "TRT_ConditionsServices/ITRT_StrawNeighbourSvc.h"
#include "AthenaBaseComps/AthService.h"
#include "GaudiKernel/ServiceHandle.h"
#include <string>
#include <vector>
Include dependency graph for TRT_StrawNeighbourSvc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TRT_StrawNeighbourSvc

Functions

int sign (int a)
int getModuleType (int strawnumber)

Detailed Description

Service to information on straws electronic grouping Developed for the study of noise correlations between straws.

Author
Esben Klinkby <>

Definition in file TRT_StrawNeighbourSvc.h.

Function Documentation

◆ getModuleType()

int getModuleType ( int strawnumber)
inline

Definition at line 110 of file TRT_StrawNeighbourSvc.h.

110 {
111 int mod = -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;
115 return mod;
116}

◆ sign()

int sign ( int a)
inline

Definition at line 108 of file TRT_StrawNeighbourSvc.h.

108{ return (a == 0) ? 0 : (a<0 ? -1 : 1); }
static Double_t a