1 #ifndef Fireworks_Calo_FWECALDetailViewBuilder_h 2 #define Fireworks_Calo_FWECALDetailViewBuilder_h 18 class TEveCaloDataVec;
34 Color_t defaultColor = kMagenta + 1);
38 TEveCaloLego *
build();
43 void setColor(Color_t color,
const std::vector<DetId> &detIds);
55 Color_t clustered1 = kGreen + 1,
56 Color_t clustered2 = kTeal,
57 Color_t supercluster = kYellow);
81 return (lhs.
eta() < rhs.
eta());
87 #endif // Fireworks_Calo_FWECALDetailViewBuilder_h
void showSuperCluster(const reco::SuperCluster &cluster, Color_t color=kYellow)
double makeLegend(double x0=0.02, double y0=0.95, Color_t clustered1=kGreen+1, Color_t clustered2=kTeal, Color_t supercluster=kYellow)
void fillData(TEveCaloDataVec *data)
void fillEtaPhi(const EcalRecHitCollection *hits, TEveCaloDataVec *data)
const edm::EventBase * m_event
TEveElement * m_towerList
std::map< DetId, int > m_detIdsToColor
FWECALDetailViewBuilder(const edm::EventBase *event, const FWGeometry *geom, float eta, float phi, int size=50, Color_t defaultColor=kMagenta+1)
const FWGeometry * m_geom
TEveCaloData * buildCaloData(bool xyEE)
void showSuperClusters(Color_t color1=kGreen+2, Color_t color2=kTeal)
void setColor(Color_t color, const std::vector< DetId > &detIds)
char data[epos_bytes_allocation]
static bool superClusterEtaLess(const reco::CaloCluster &lhs, const reco::CaloCluster &rhs)
std::vector< FWBoxRecHit * > m_boxes
double eta() const
pseudorapidity of cluster centroid