15 class TEveCaloDataVec;
41 float eta,
float phi,
int size = 50,
42 Color_t defaultColor = kMagenta+1)
43 : m_event(event), m_geom(geom),
44 m_eta(eta), m_phi(phi), m_size(
size),
45 m_defaultColor(defaultColor){
50 TEveCaloLego* build();
52 TEveCaloData* buildCaloData(
bool xyEE);
55 void setColor(Color_t
color,
const std::vector<DetId> &detIds);
59 void showSuperClusters(Color_t color1=kGreen+2, Color_t color2=kTeal);
65 double makeLegend(
double x0 = 0.02,
double y0 = 0.95,
66 Color_t clustered1=kGreen+1, Color_t clustered2=kTeal,
67 Color_t supercluster=kYellow);
73 TEveCaloDataVec *
data,
bool xyEE);
90 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
double eta() const
pseudorapidity of cluster centroid
static bool superClusterEtaLess(const reco::CaloCluster &lhs, const reco::CaloCluster &rhs)
const edm::EventBase * m_event
std::map< DetId, int > m_detIdsToColor
char data[epos_bytes_allocation]