BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnECALMapElement Class Reference

#include <BmnECALDigit.h>

Public Member Functions

 BmnECALMapElement ()
virtual ~BmnECALMapElement ()
void SetAdcMap (Int_t chan, ULong_t adcId, UShort_t adcChan)
void SetCoeff (Int_t chan, Double_t coeff)
void SetCoords (TGeoNode *cell, TGeoNode *mother)
void Print ()
Bool_t IsAdcMatch (ULong_t adcId, UShort_t adcChan)
Int_t GetChan ()
Float_t GetX ()
Float_t GetY ()
Double_t GetLabX ()
Double_t GetLabY ()
Double_t GetLabZ ()
Double_t GetCoeff ()
Double_t * EcalCoords ()
Double_t * LabCoords ()
 BmnECALMapElement ()
virtual ~BmnECALMapElement ()
void SetAdcMap (Int_t chan, ULong_t adcId, UShort_t adcChan)
void SetCoeff (Int_t chan, Double_t coeff)
void SetCoords (TGeoNode *cell, TGeoNode *mother)
void Print ()
Bool_t IsAdcMatch (ULong_t adcId, UShort_t adcChan)
Int_t GetChan ()
Float_t GetX ()
Float_t GetY ()
Double_t GetLabX ()
Double_t GetLabY ()
Double_t GetLabZ ()
Double_t GetCoeff ()
Double_t * EcalCoords ()
Double_t * LabCoords ()

Static Public Member Functions

static void PrintTitle ()
static void PrintTitle ()

Private Attributes

ULong_t fAdcId = 0
UShort_t fAdcChan = 0
Int_t fChan = -1
Double_t fX
Double_t fY
Double_t fZ
Double_t fLabX
Double_t fLabY
Double_t fLabZ
Double_t fCoeff = 1.

Detailed Description

Definition at line 8 of file BmnECALDigit.h.

Constructor & Destructor Documentation

◆ BmnECALMapElement() [1/2]

BmnECALMapElement::BmnECALMapElement ( )
inline

Definition at line 18 of file BmnECALDigit.h.

◆ ~BmnECALMapElement() [1/2]

virtual BmnECALMapElement::~BmnECALMapElement ( )
inlinevirtual

Definition at line 19 of file BmnECALDigit.h.

◆ BmnECALMapElement() [2/2]

BmnECALMapElement::BmnECALMapElement ( )
inline

Definition at line 18 of file BmnECALDigit.h.

◆ ~BmnECALMapElement() [2/2]

virtual BmnECALMapElement::~BmnECALMapElement ( )
inlinevirtual

Definition at line 19 of file BmnECALDigit.h.

Member Function Documentation

◆ EcalCoords() [1/2]

Double_t * BmnECALMapElement::EcalCoords ( )
inline

Definition at line 43 of file BmnECALDigit.h.

References fX.

Referenced by SetCoords().

Here is the caller graph for this function:

◆ EcalCoords() [2/2]

Double_t * BmnECALMapElement::EcalCoords ( )
inline

Definition at line 43 of file BmnECALDigit.h.

References fX.

◆ GetChan() [1/2]

Int_t BmnECALMapElement::GetChan ( )
inline

Definition at line 33 of file BmnECALDigit.h.

References fChan.

Referenced by BmnECALDigit::Set().

Here is the caller graph for this function:

◆ GetChan() [2/2]

Int_t BmnECALMapElement::GetChan ( )
inline

Definition at line 33 of file BmnECALDigit.h.

References fChan.

◆ GetCoeff() [1/2]

Double_t BmnECALMapElement::GetCoeff ( )
inline

Definition at line 41 of file BmnECALDigit.h.

References fCoeff.

◆ GetCoeff() [2/2]

Double_t BmnECALMapElement::GetCoeff ( )
inline

Definition at line 41 of file BmnECALDigit.h.

References fCoeff.

◆ GetLabX() [1/2]

Double_t BmnECALMapElement::GetLabX ( )
inline

Definition at line 37 of file BmnECALDigit.h.

References fLabX.

Referenced by BmnECALDigit::Set().

Here is the caller graph for this function:

◆ GetLabX() [2/2]

Double_t BmnECALMapElement::GetLabX ( )
inline

Definition at line 37 of file BmnECALDigit.h.

References fLabX.

◆ GetLabY() [1/2]

Double_t BmnECALMapElement::GetLabY ( )
inline

Definition at line 38 of file BmnECALDigit.h.

References fLabY.

Referenced by BmnECALDigit::Set().

Here is the caller graph for this function:

◆ GetLabY() [2/2]

Double_t BmnECALMapElement::GetLabY ( )
inline

Definition at line 38 of file BmnECALDigit.h.

References fLabY.

◆ GetLabZ() [1/2]

Double_t BmnECALMapElement::GetLabZ ( )
inline

Definition at line 39 of file BmnECALDigit.h.

References fLabZ.

Referenced by BmnECALDigit::Set().

Here is the caller graph for this function:

◆ GetLabZ() [2/2]

Double_t BmnECALMapElement::GetLabZ ( )
inline

Definition at line 39 of file BmnECALDigit.h.

References fLabZ.

◆ GetX() [1/2]

Float_t BmnECALMapElement::GetX ( )
inline

Definition at line 34 of file BmnECALDigit.h.

References fX.

Referenced by BmnECALDigit::Set().

Here is the caller graph for this function:

◆ GetX() [2/2]

Float_t BmnECALMapElement::GetX ( )
inline

Definition at line 34 of file BmnECALDigit.h.

References fX.

◆ GetY() [1/2]

Float_t BmnECALMapElement::GetY ( )
inline

Definition at line 35 of file BmnECALDigit.h.

References fY.

Referenced by BmnECALDigit::Set().

Here is the caller graph for this function:

◆ GetY() [2/2]

Float_t BmnECALMapElement::GetY ( )
inline

Definition at line 35 of file BmnECALDigit.h.

References fY.

◆ IsAdcMatch() [1/2]

Bool_t BmnECALMapElement::IsAdcMatch ( ULong_t adcId,
UShort_t adcChan )
inline

Definition at line 28 of file BmnECALDigit.h.

References fAdcChan, fAdcId, and fChan.

◆ IsAdcMatch() [2/2]

Bool_t BmnECALMapElement::IsAdcMatch ( ULong_t adcId,
UShort_t adcChan )
inline

Definition at line 28 of file BmnECALDigit.h.

References fAdcChan, fAdcId, and fChan.

◆ LabCoords() [1/2]

Double_t * BmnECALMapElement::LabCoords ( )
inline

Definition at line 44 of file BmnECALDigit.h.

References fLabX.

Referenced by SetCoords().

Here is the caller graph for this function:

◆ LabCoords() [2/2]

Double_t * BmnECALMapElement::LabCoords ( )
inline

Definition at line 44 of file BmnECALDigit.h.

References fLabX.

◆ Print() [1/2]

void BmnECALMapElement::Print ( )

Definition at line 52 of file BmnECALDigit.cxx.

References fAdcChan, fAdcId, fChan, fCoeff, fLabX, fLabY, fLabZ, fX, and fY.

◆ Print() [2/2]

void BmnECALMapElement::Print ( )

◆ PrintTitle() [1/2]

void BmnECALMapElement::PrintTitle ( )
static

Definition at line 39 of file BmnECALDigit.cxx.

Referenced by BmnECALRaw2Digit::print().

Here is the caller graph for this function:

◆ PrintTitle() [2/2]

void BmnECALMapElement::PrintTitle ( )
static

◆ SetAdcMap() [1/2]

void BmnECALMapElement::SetAdcMap ( Int_t chan,
ULong_t adcId,
UShort_t adcChan )

Definition at line 9 of file BmnECALDigit.cxx.

References fAdcChan, fAdcId, and fChan.

◆ SetAdcMap() [2/2]

void BmnECALMapElement::SetAdcMap ( Int_t chan,
ULong_t adcId,
UShort_t adcChan )

◆ SetCoeff() [1/2]

void BmnECALMapElement::SetCoeff ( Int_t chan,
Double_t coeff )

Definition at line 19 of file BmnECALDigit.cxx.

References fChan, and fCoeff.

◆ SetCoeff() [2/2]

void BmnECALMapElement::SetCoeff ( Int_t chan,
Double_t coeff )

◆ SetCoords() [1/2]

void BmnECALMapElement::SetCoords ( TGeoNode * cell,
TGeoNode * mother )

Definition at line 28 of file BmnECALDigit.cxx.

References EcalCoords(), fChan, TGeoNode::GetNumber(), LabCoords(), and TGeoNode::LocalToMaster().

Here is the call graph for this function:

◆ SetCoords() [2/2]

void BmnECALMapElement::SetCoords ( TGeoNode * cell,
TGeoNode * mother )

Member Data Documentation

◆ fAdcChan

UShort_t BmnECALMapElement::fAdcChan = 0
private

Definition at line 11 of file BmnECALDigit.h.

Referenced by IsAdcMatch(), Print(), and SetAdcMap().

◆ fAdcId

ULong_t BmnECALMapElement::fAdcId = 0
private

Definition at line 10 of file BmnECALDigit.h.

Referenced by IsAdcMatch(), Print(), and SetAdcMap().

◆ fChan

Int_t BmnECALMapElement::fChan = -1
private

Definition at line 12 of file BmnECALDigit.h.

Referenced by GetChan(), IsAdcMatch(), Print(), SetAdcMap(), SetCoeff(), and SetCoords().

◆ fCoeff

Double_t BmnECALMapElement::fCoeff = 1.
private

Definition at line 15 of file BmnECALDigit.h.

Referenced by GetCoeff(), Print(), and SetCoeff().

◆ fLabX

Double_t BmnECALMapElement::fLabX
private

Definition at line 14 of file BmnECALDigit.h.

Referenced by GetLabX(), LabCoords(), and Print().

◆ fLabY

Double_t BmnECALMapElement::fLabY
private

Definition at line 14 of file BmnECALDigit.h.

Referenced by GetLabY(), and Print().

◆ fLabZ

Double_t BmnECALMapElement::fLabZ
private

Definition at line 14 of file BmnECALDigit.h.

Referenced by GetLabZ(), and Print().

◆ fX

Double_t BmnECALMapElement::fX
private

Definition at line 13 of file BmnECALDigit.h.

Referenced by EcalCoords(), GetX(), and Print().

◆ fY

Double_t BmnECALMapElement::fY
private

Definition at line 13 of file BmnECALDigit.h.

Referenced by GetY(), and Print().

◆ fZ

Double_t BmnECALMapElement::fZ
private

Definition at line 13 of file BmnECALDigit.h.


The documentation for this class was generated from the following files: