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


Public Member Functions | |
| AtTpcProtoMap () | |
| ~AtTpcProtoMap ()=default | |
| virtual void | GeneratePadPlane () override |
| virtual void | Dump () override |
| virtual ROOT::Math::XYPoint | CalcPadCenter (Int_t PadRef) override |
| virtual Int_t | BinToPad (Int_t binval) override |
| TH2Poly * | GetAtTpcPlane (TString TH2Poly_name) |
| Bool_t | SetGeoFile (TString geofile) |
| Bool_t | SetProtoMap (TString file) |
| ClassDefOverride (AtTpcProtoMap, 2) | |
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 () |
| 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 Attributes | |
| TFile * | f {} |
| Int_t | bin {} |
| Bool_t | kIsFileSet = false |
| Bool_t | kIsGenerated = false |
| Bool_t | kIsProtoMapSet = false |
| std::map< Int_t, std::vector< Float_t > > | ProtoGeoMap |
| std::map< Int_t, Int_t > | ProtoBinMap |
Protected Attributes inherited from AtMap | |
| 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 |
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 () |
Definition at line 26 of file AtTpcProtoMap.h.
| AtTpcProtoMap::AtTpcProtoMap | ( | ) |
Definition at line 34 of file AtTpcProtoMap.cxx.
|
default |
|
overridevirtual |
Implements AtMap.
Definition at line 184 of file AtTpcProtoMap.cxx.
|
overridevirtual |
Implements AtMap.
Definition at line 108 of file AtTpcProtoMap.cxx.
| AtTpcProtoMap::ClassDefOverride | ( | AtTpcProtoMap | , |
| 2 | |||
| ) |
|
overridevirtual |
Implements AtMap.
Definition at line 210 of file AtTpcProtoMap.cxx.
|
overridevirtual |
Virtual function that creates the TH2Poly that stores the pad plane geometry
Implements AtMap.
Definition at line 54 of file AtTpcProtoMap.cxx.
| TH2Poly * AtTpcProtoMap::GetAtTpcPlane | ( | TString | TH2Poly_name | ) |
Definition at line 95 of file AtTpcProtoMap.cxx.
| Bool_t AtTpcProtoMap::SetGeoFile | ( | TString | geofile | ) |
Definition at line 36 of file AtTpcProtoMap.cxx.
| Bool_t AtTpcProtoMap::SetProtoMap | ( | TString | file | ) |
Definition at line 146 of file AtTpcProtoMap.cxx.
|
protected |
Definition at line 29 of file AtTpcProtoMap.h.
|
protected |
Definition at line 28 of file AtTpcProtoMap.h.
|
protected |
Definition at line 31 of file AtTpcProtoMap.h.
|
protected |
Definition at line 32 of file AtTpcProtoMap.h.
|
protected |
Definition at line 33 of file AtTpcProtoMap.h.
|
protected |
Definition at line 36 of file AtTpcProtoMap.h.
|
protected |
Definition at line 35 of file AtTpcProtoMap.h.
1.8.18