16 class TEveCaloDataVec;
30 float eta,
float phi,
int size = 50,
31 Color_t defaultColor = kMagenta+1)
32 : m_event(event), m_geom(geom),
33 m_eta(eta), m_phi(phi), m_size(
size),
34 m_defaultColor(defaultColor){
39 TEveCaloLego* build();
41 TEveCaloData* buildCaloData(
bool xyEE);
44 void setColor(Color_t
color,
const std::vector<DetId> &detIds);
48 void showSuperClusters(Color_t color1=kGreen+2, Color_t color2=kTeal);
54 double makeLegend(
double x0 = 0.02,
double y0 = 0.95,
55 Color_t clustered1=kGreen+1, Color_t clustered2=kTeal,
56 Color_t supercluster=kYellow);
62 TEveCaloDataVec *
data,
bool xyEE);
79 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]