ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
SPLayer Class Reference

#include <SPLayer.h>

Collaboration diagram for SPLayer:

Public Member Functions

 SPLayer (const int, const int, const int, const int, const int, const int, const std::string &, const std::vector< TH1 * > &)
 
int incnmod ()
 
int incnhit ()
 
int dettype () const
 
int bec () const
 
int layer () const
 
int side () const
 
int nmod () const
 
int nhit () const
 
TH1 * hptr (int) const
 
const std::string & name () const
 

Private Attributes

int m_dettype
 
int m_bec
 
int m_layer
 
int m_side
 
int m_nmod
 
int m_nhit
 
std::string m_name
 
std::vector< TH1 * > m_histlist
 

Detailed Description

Definition at line 15 of file SPLayer.h.

Constructor & Destructor Documentation

◆ SPLayer()

SPLayer::SPLayer ( const int  ,
const int  ,
const int  det,
const int  bec,
const int  layer,
const int  side,
const std::string &  name,
const std::vector< TH1 * > &  histlist 
)

Definition at line 12 of file SPLayer.cxx.

14  :
16  m_side(side),m_nmod(0), m_nhit(0), m_name(name), m_histlist(histlist)
17  {
18  std::cout << "In splayer constructer" << std::endl;
19  if (m_histlist.size() != 10) std::cout <<
20  "SPLayer Error: Unexpected histogram list size " <<
21  m_histlist.size() << std::endl;
22 }

Member Function Documentation

◆ bec()

int SPLayer::bec ( ) const
inline

Definition at line 46 of file SPLayer.h.

46 { return m_bec; }

◆ dettype()

int SPLayer::dettype ( ) const
inline

Definition at line 45 of file SPLayer.h.

45 { return m_dettype; }

◆ hptr()

TH1 * SPLayer::hptr ( int  i) const
inline

Definition at line 52 of file SPLayer.h.

52 { return m_histlist[i]; }

◆ incnhit()

int SPLayer::incnhit ( )
inline

Definition at line 43 of file SPLayer.h.

43 { return ++m_nhit; }

◆ incnmod()

int SPLayer::incnmod ( )
inline

Definition at line 42 of file SPLayer.h.

42 { return ++m_nmod; }

◆ layer()

int SPLayer::layer ( ) const
inline

Definition at line 47 of file SPLayer.h.

47 { return m_layer; }

◆ name()

const std::string & SPLayer::name ( ) const
inline

Definition at line 51 of file SPLayer.h.

51 { return m_name; }

◆ nhit()

int SPLayer::nhit ( ) const
inline

Definition at line 50 of file SPLayer.h.

50 { return m_nhit; }

◆ nmod()

int SPLayer::nmod ( ) const
inline

Definition at line 49 of file SPLayer.h.

49 { return m_nmod; }

◆ side()

int SPLayer::side ( ) const
inline

Definition at line 48 of file SPLayer.h.

48 { return m_side; }

Member Data Documentation

◆ m_bec

int SPLayer::m_bec
private

Definition at line 33 of file SPLayer.h.

◆ m_dettype

int SPLayer::m_dettype
private

Definition at line 32 of file SPLayer.h.

◆ m_histlist

std::vector<TH1*> SPLayer::m_histlist
private

Definition at line 39 of file SPLayer.h.

◆ m_layer

int SPLayer::m_layer
private

Definition at line 34 of file SPLayer.h.

◆ m_name

std::string SPLayer::m_name
private

Definition at line 38 of file SPLayer.h.

◆ m_nhit

int SPLayer::m_nhit
private

Definition at line 37 of file SPLayer.h.

◆ m_nmod

int SPLayer::m_nmod
private

Definition at line 36 of file SPLayer.h.

◆ m_side

int SPLayer::m_side
private

Definition at line 35 of file SPLayer.h.


The documentation for this class was generated from the following files:
SPLayer::m_nhit
int m_nhit
Definition: SPLayer.h:37
TRTCalib_Extractor.det
det
Definition: TRTCalib_Extractor.py:36
SPLayer::m_bec
int m_bec
Definition: SPLayer.h:33
SPLayer::m_nmod
int m_nmod
Definition: SPLayer.h:36
lumiFormat.i
int i
Definition: lumiFormat.py:85
SPLayer::side
int side() const
Definition: SPLayer.h:48
SPLayer::m_name
std::string m_name
Definition: SPLayer.h:38
SPLayer::m_dettype
int m_dettype
Definition: SPLayer.h:32
SPLayer::m_layer
int m_layer
Definition: SPLayer.h:34
SPLayer::bec
int bec() const
Definition: SPLayer.h:46
SPLayer::m_histlist
std::vector< TH1 * > m_histlist
Definition: SPLayer.h:39
SPLayer::name
const std::string & name() const
Definition: SPLayer.h:51
SPLayer::layer
int layer() const
Definition: SPLayer.h:47
SPLayer::m_side
int m_side
Definition: SPLayer.h:35