14 class TEveCaloDataVec;
40 float eta,
float phi,
int size = 50,
41 Color_t defaultColor = kMagenta+1)
42 : m_event(event), m_geom(geom),
43 m_eta(eta), m_phi(phi), m_size(
size),
44 m_defaultColor(defaultColor){
49 TEveCaloLego* build();
51 TEveCaloData* buildCaloData(
bool xyEE);
54 void setColor(Color_t
color,
const std::vector<DetId> &detIds);
58 void showSuperClusters(Color_t color1=kGreen+2, Color_t color2=kTeal);
64 double makeLegend(
double x0 = 0.02,
double y0 = 0.95,
65 Color_t clustered1=kGreen+1, Color_t clustered2=kTeal,
66 Color_t supercluster=kYellow);
72 TEveCaloDataVec *
data,
bool xyEE);
89 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]