|
ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtMap.h>


Public Types | |
| enum | InhibitType { InhibitType::kNone = 0, InhibitType::kLowGain = 1, InhibitType::kXTalk = 2, InhibitType::kTotal = 3, InhibitType::kBadPad = 4 } |
Public Member Functions | |
| AtMap () | |
| ~AtMap ()=default | |
| virtual void | Dump ()=0 |
| virtual void | GeneratePadPlane ()=0 |
| virtual ROOT::Math::XYPoint | CalcPadCenter (Int_t PadRef)=0 |
| TH2Poly * | GetPadPlane () |
| virtual Int_t | BinToPad (Int_t binval)=0 |
| UInt_t | GetNumPads () const |
| Int_t | GetPadNum (const AtPadReference &PadRef) const |
| Int_t | GetPadNum (ROOT::Math::XYPoint point) |
| multiarray | GetPadCoordArr () |
| multiarray * | GetPadCoord () |
| 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) | |
Protected Types | |
| typedef boost::multi_array< double, 3 > | multiarray |
| typedef multiarray::index | index |
Protected Member Functions | |
| void | drawPadPlane () |
Protected Attributes | |
| multiarray | AtPadCoord |
| multiarray * | fAtPadCoordPtr {} |
| Bool_t | kIsParsed = false |
| Bool_t | kDebug = false |
| std::unordered_map< AtPadReference, AtMap::InhibitType > | fIniPads |
| TCanvas * | fPadPlaneCanvas {} |
| TH2Poly * | fPadPlane |
| UInt_t | fNumberPads {} |
| std::unordered_map< AtPadReference, int > | fPadMap |
| std::map< int, AtPadReference > | fPadMapInverse |
| std::unordered_map< AtPadReference, std::string > | fAuxPadMap |
| std::map< int, int > | fPadSizeMap |
|
protected |
|
protected |
|
strong |
|
default |
| bool AtMap::AddAuxPad | ( | const AtPadReference & | ref, |
| std::string | auxName | ||
| ) |
|
pure virtual |
Implemented in AtTpcProtoMap, AtGadgetIIMap, AtSpecMATMap, and AtTpcMap.
|
pure virtual |
Implemented in AtTpcProtoMap, AtGadgetIIMap, AtSpecMATMap, and AtTpcMap.
| AtMap::ClassDefOverride | ( | AtMap | , |
| 5 | |||
| ) |
|
pure virtual |
Implemented in AtTpcProtoMap, AtGadgetIIMap, AtSpecMATMap, and AtTpcMap.
|
pure virtual |
Virtual function that creates the TH2Poly that stores the pad plane geometry
Implemented in AtTpcProtoMap, AtGadgetIIMap, AtSpecMATMap, and AtTpcMap.
| std::string AtMap::GetAuxName | ( | const AtPadReference & | ref | ) | const |
| AtPadReference AtMap::GetNearestFPN | ( | const AtPadReference & | ref | ) | const |
| AtPadReference AtMap::GetNearestFPN | ( | int | padNum | ) | const |
|
inline |
|
inline |
| Int_t AtMap::GetPadNum | ( | const AtPadReference & | PadRef | ) | const |
| Int_t AtMap::GetPadNum | ( | ROOT::Math::XYPoint | point | ) |
| TH2Poly * AtMap::GetPadPlane | ( | ) |
| AtPadReference AtMap::GetPadRef | ( | int | padNum | ) | const |
| void AtMap::InhibitPad | ( | AtPadReference | padRef, |
| AtMap::InhibitType | type | ||
| ) |
|
inline |
| bool AtMap::IsAuxPad | ( | const AtPadReference & | ref | ) | const |
| bool AtMap::IsFPNchannel | ( | const AtPadReference & | ref | ) | const |
| AtMap::InhibitType AtMap::IsInhibited | ( | AtPadReference | padRef | ) |
|
inline |
| Bool_t AtMap::ParseInhibitMap | ( | TString | inimap, |
| AtMap::InhibitType | type | ||
| ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.18