ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
AtGadgetIIMap Class Reference

#include <AtGadgetIIMap.h>

Inheritance diagram for AtGadgetIIMap:
Inheritance graph
[legend]
Collaboration diagram for AtGadgetIIMap:
Collaboration graph
[legend]

Public Member Functions

 AtGadgetIIMap ()
 
 ~AtGadgetIIMap ()
 
void Dump () override
 
void GeneratePadPlane () override
 
ROOT::Math::XYPoint CalcPadCenter (Int_t PadRef) override
 
Int_t BinToPad (Int_t binval) override
 
void SetBinToPadMap ()
 
- Public Member Functions inherited from AtMap
 AtMap ()
 
 ~AtMap ()=default
 
TH2Poly * GetPadPlane ()
 
UInt_t GetNumPads () const
 
Int_t GetPadNum (const AtPadReference &PadRef) const
 
Int_t GetPadNum (ROOT::Math::XYPoint point)
 
multiarray GetPadCoordArr ()
 
multiarrayGetPadCoord ()
 
Bool_t ParseXMLMap (Char_t const *xmlfile)
 
void ParseMapList (TXMLNode *node)
 
void ParseAtTPCMap (TXMLNode *node)
 
Bool_t DumpAtTPCMap ()
 
AtPadReference GetPadRef (int padNum) const
 
bool AddAuxPad (const AtPadReference &ref, std::string auxName)
 
bool IsAuxPad (const AtPadReference &ref) const
 
bool IsFPNchannel (const AtPadReference &ref) const
 
AtPadReference GetNearestFPN (int padNum) const
 
AtPadReference GetNearestFPN (const AtPadReference &ref) const
 
std::string GetAuxName (const AtPadReference &ref) const
 
void SetDebugMode (Bool_t flag=true)
 
Bool_t ParseInhibitMap (TString inimap, AtMap::InhibitType type)
 
void InhibitPad (Int_t padNum, AtMap::InhibitType type)
 
void InhibitPad (AtPadReference padRef, AtMap::InhibitType type)
 
AtMap::InhibitType IsInhibited (Int_t PadNum)
 
AtMap::InhibitType IsInhibited (AtPadReference padRef)
 
Int_t GetPadSize (int padNum)
 
 ClassDefOverride (AtMap, 5)
 

Additional Inherited Members

- Public Types inherited from AtMap
enum  InhibitType {
  InhibitType::kNone = 0, InhibitType::kLowGain = 1, InhibitType::kXTalk = 2, InhibitType::kTotal = 3,
  InhibitType::kBadPad = 4
}
 
- Protected Types inherited from AtMap
typedef boost::multi_array< double, 3 > multiarray
 
typedef multiarray::index index
 
- Protected Member Functions inherited from AtMap
void drawPadPlane ()
 
- Protected Attributes inherited from AtMap
multiarray AtPadCoord
 
multiarrayfAtPadCoordPtr {}
 
Bool_t kIsParsed = false
 
Bool_t kDebug = false
 
std::unordered_map< AtPadReference, AtMap::InhibitTypefIniPads
 
TCanvas * fPadPlaneCanvas {}
 
TH2Poly * fPadPlane
 
UInt_t fNumberPads {}
 
std::unordered_map< AtPadReference, int > fPadMap
 
std::map< int, AtPadReferencefPadMapInverse
 
std::unordered_map< AtPadReference, std::string > fAuxPadMap
 
std::map< int, int > fPadSizeMap
 

Detailed Description

Definition at line 22 of file AtGadgetIIMap.h.

Constructor & Destructor Documentation

◆ AtGadgetIIMap()

AtGadgetIIMap::AtGadgetIIMap ( )

Definition at line 28 of file AtGadgetIIMap.cxx.

◆ ~AtGadgetIIMap()

AtGadgetIIMap::~AtGadgetIIMap ( )
default

Member Function Documentation

◆ BinToPad()

Int_t AtGadgetIIMap::BinToPad ( Int_t  binval)
inlineoverridevirtual

Implements AtMap.

Definition at line 31 of file AtGadgetIIMap.h.

◆ CalcPadCenter()

XYPoint AtGadgetIIMap::CalcPadCenter ( Int_t  PadRef)
overridevirtual

Implements AtMap.

Definition at line 235 of file AtGadgetIIMap.cxx.

◆ Dump()

void AtGadgetIIMap::Dump ( )
overridevirtual

Implements AtMap.

Definition at line 40 of file AtGadgetIIMap.cxx.

◆ GeneratePadPlane()

void AtGadgetIIMap::GeneratePadPlane ( )
overridevirtual

Virtual function that creates the TH2Poly that stores the pad plane geometry

Implements AtMap.

Definition at line 42 of file AtGadgetIIMap.cxx.

◆ SetBinToPadMap()

void AtGadgetIIMap::SetBinToPadMap ( )

Definition at line 253 of file AtGadgetIIMap.cxx.


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