1 #ifndef Fireworks_Calo_FWECALDetailViewBuilder_h 2 #define Fireworks_Calo_FWECALDetailViewBuilder_h 18 class TEveCaloDataVec;
32 float eta,
float phi,
int size = 50 , Color_t defaultColor = kMagenta+1);
37 TEveCaloLego* build();
39 TEveCaloData* buildCaloData(
bool xyEE);
42 void setColor(Color_t
color,
const std::vector<DetId> &detIds);
46 void showSuperClusters(Color_t color1=kGreen+2, Color_t color2=kTeal);
52 double makeLegend(
double x0 = 0.02,
double y0 = 0.95,
53 Color_t clustered1=kGreen+1, Color_t clustered2=kTeal,
54 Color_t supercluster=kYellow);
59 void fillData(TEveCaloDataVec *
data);
81 return ( lhs.
eta() < rhs.
eta());
84 float sizeRad()
const;
88 #endif // Fireworks_Calo_FWECALDetailViewBuilder_h
double eta() const
pseudorapidity of cluster centroid
const edm::EventBase * m_event
TEveElement * m_towerList
std::map< DetId, int > m_detIdsToColor
const FWGeometry * m_geom
char data[epos_bytes_allocation]
static bool superClusterEtaLess(const reco::CaloCluster &lhs, const reco::CaloCluster &rhs)
std::vector< FWBoxRecHit * > m_boxes