7#ifndef EVENTDISPLAY_EVENTOBJECTS_H_
8#define EVENTDISPLAY_EVENTOBJECTS_H_
12#include "Ecal/Event/EcalHit.h"
18#include "SimCore/Event/SimParticle.h"
23#include "TEveRGBAPalette.h"
26namespace eventdisplay {
62 EXCEPTION_RAISE(
"NotImp",
"Drawing not implemented for the input type.");
68 void draw(std::vector<ldmx::EcalHit> hits);
73 void draw(std::vector<ldmx::HcalHit> hits);
78 void draw(std::vector<ldmx::EcalCluster> clusters);
83 void draw(std::vector<ldmx::SimTrackerHit> hits);
89 void draw(std::vector<ldmx::SimCalorimeterHit> hits);
94 void draw(std::map<int, ldmx::SimParticle> particles);
130 std::vector<Color_t>
colors_ = {kRed, kBlue, kGreen, kYellow,
131 kMagenta, kBlack, kOrange, kPink};
Header file for class DetectorGeometry.
Class that stores cluster information from the ECal.
Header file for EveDetectorGeometry Class.
Class that stores Stores reconstructed hit information from the HCAL.
Class that defines an HCal sensitive detector.
Class which stores simulated calorimeter hit information.
Class which encapsulates information from a hit in a simulated tracking detector.
Drawing methods for event objects.
~Objects()
Destructor Deletes objects that have been constructed.
void initialize()
Defines new Eve Element Lists for the event objects.
Objects()
Constructor Defines new necessary objects.
TEveElement * rec_objects_
Eve Element containing reco objects that aren't hits.
TEveElement * getRecObjects()
Get the objects from the reconstruction level Eve Element Used to attach these Eve Elements to the Ev...
TRandom r_
random number generator for colors if we go over the ones in
TEveElement * sim_objects_
Eve Element containing all hits.
double sim_thresh_
threshold for sim particles to be drawn
TEveElement * getSimObjects()
Get the objects from the sim level Eve Element Used to attach these Eve Elements to the Eve Manager.
void colorClusters()
Colors ecal clusters according to colors_.
void setSimThresh(double simThresh)
Sets the energy threshold for a sim particle to be drawn.
std::vector< Color_t > colors_
list of colors to use with ecal clusters
void draw(T o)
Not implemented.