Go to the documentation of this file. 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 fillData(TEveCaloDataVec *data)
double makeLegend(double x0=0.02, double y0=0.95, Color_t clustered1=kGreen+1, Color_t clustered2=kTeal, Color_t supercluster=kYellow)
void fillEtaPhi(const EcalRecHitCollection *hits, TEveCaloDataVec *data)
const edm::EventBase * m_event
TEveCaloData * buildCaloData(bool xyEE)
const FWGeometry * m_geom
TEveElement * m_towerList
FWECALDetailViewBuilder(const edm::EventBase *event, const FWGeometry *geom, float eta, float phi, int size=50, Color_t defaultColor=kMagenta+1)
void showSuperClusters(Color_t color1=kGreen+2, Color_t color2=kTeal)
std::map< DetId, int > m_detIdsToColor
double eta() const
pseudorapidity of cluster centroid
void setColor(Color_t color, const std::vector< DetId > &detIds)
char data[epos_bytes_allocation]
void showSuperCluster(const reco::SuperCluster &cluster, Color_t color=kYellow)
std::vector< FWBoxRecHit * > m_boxes
static bool superClusterEtaLess(const reco::CaloCluster &lhs, const reco::CaloCluster &rhs)