16 class TEveCaloDataVec;
32 Color_t defaultColor = kMagenta + 1)
37 TEveCaloLego *
build();
42 void setColor(Color_t color,
const std::vector<DetId> &detIds);
54 Color_t clustered1 = kGreen + 1,
55 Color_t clustered2 = kTeal,
56 Color_t supercluster = kYellow);
76 return (lhs.
eta() < rhs.
eta());
FWECALCaloDataDetailViewBuilder(const edm::EventBase *event, const FWGeometry *geom, float eta, float phi, int size=50, Color_t defaultColor=kMagenta+1)
const FWGeometry * m_geom
std::vector< Color_t > m_colors
void showSuperCluster(const reco::SuperCluster &cluster, Color_t color=kYellow)
TEveCaloData * buildCaloData(bool xyEE)
static bool superClusterEtaLess(const reco::CaloCluster &lhs, const reco::CaloCluster &rhs)
double makeLegend(double x0=0.02, double y0=0.95, Color_t clustered1=kGreen+1, Color_t clustered2=kTeal, Color_t supercluster=kYellow)
const edm::EventBase * m_event
void setColor(Color_t color, const std::vector< DetId > &detIds)
void fillData(const EcalRecHitCollection *hits, TEveCaloDataVec *data, bool xyEE)
std::map< DetId, int > m_detIdsToColor
char data[epos_bytes_allocation]
double eta() const
pseudorapidity of cluster centroid
void showSuperClusters(Color_t color1=kGreen+2, Color_t color2=kTeal)