LDMX Software
EveDetectorGeometry.h
Go to the documentation of this file.
1
8#ifndef EVENTDISPLAY_EVEDETECTORGEOMETRY_H_
9#define EVENTDISPLAY_EVEDETECTORGEOMETRY_H_
10
11#include "DetDescr/HcalID.h" //for HcalSection enum
14#include "TEveElement.h"
15
16namespace eventdisplay {
17
23 public:
29
35 delete hcal_;
36 delete sidehcal_;
37 delete ecal_;
38 delete recoilTracker_;
39 delete detector_;
40 }
41
45 void drawECAL();
46
50 void drawHCAL();
51
55 void drawRecoilTracker();
56
60 TEveElement* getECAL() { return ecal_; }
61
65 TEveElement* getHCAL() { return hcal_; }
66
70 TEveElement* getRecoilTracker() { return recoilTracker_; }
71
75 TEveElement* getDetector() { return detector_; }
76
77 private:
78 TEveElement* hcal_; //* HCAL Eve Element
79 TEveElement* sidehcal_; //* Side HCAL Eve Element
80 TEveElement* ecal_; //* ECAL Eve Element
81 TEveElement* recoilTracker_; //* Recoil Tracker Eve Element
82 TEveElement* detector_; //* Entire Detector Eve Element
83};
84} // namespace eventdisplay
85
86#endif
Header file for class DetectorGeometry.
Class that defines an HCal sensitive detector.
Class that constructs the detector components for the event display.
EveDetectorGeometry()
Constructor Builds and draws all of the detector elements.
TEveElement * getHCAL()
Access HCAL Eve Element.
TEveElement * getECAL()
Access ECAL Eve Element.
TEveElement * getRecoilTracker()
Access Recoil Tracker Eve Element.
void drawRecoilTracker()
Draw the elements of the Recoil Tracker.
TEveElement * getDetector()
Access Entire Detector Eve Element.
void drawECAL()
Draw the elements of the ECAL.
~EveDetectorGeometry()
Destructor Cleanup leftover pointers.
void drawHCAL()
Draw the elements of the HCAL.