ATLAS Offline Software
Classes | Functions
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 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 109 of file TRT_StrawNeighbourSvc.h.

109  {
110  int mod = -1;
111  if ((strawnumber%1642)<=329) mod =1;
112  else if ((strawnumber%1642)<=(329+520)) mod =2;
113  else if ((strawnumber%1642)<=(329+520+793)) mod =3;
114  return mod;
115 }

◆ sign()

int sign ( int  a)
inline

Definition at line 107 of file TRT_StrawNeighbourSvc.h.

107 { return (a == 0) ? 0 : (a<0 ? -1 : 1); }
maskDeadModules.mod
mod
Definition: maskDeadModules.py:36
a
TList * a
Definition: liststreamerinfos.cxx:10