1 #ifndef Fireworks_Calo_FWECALDetailViewBuilder_h 2 #define Fireworks_Calo_FWECALDetailViewBuilder_h 18 class TEveCaloDataVec;
22 class superClsterEtaLess :
public std::binary_function<const reco::CaloCluster&, const reco::CaloCluster&, bool>
27 return ( lhs.
eta() < rhs.
eta()) ;
42 float eta,
float phi,
int size = 50 , Color_t defaultColor = kMagenta+1);
47 TEveCaloLego* build();
49 TEveCaloData* buildCaloData(
bool xyEE);
52 void setColor(Color_t
color,
const std::vector<DetId> &detIds);
56 void showSuperClusters(Color_t color1=kGreen+2, Color_t color2=kTeal);
62 double makeLegend(
double x0 = 0.02,
double y0 = 0.95,
63 Color_t clustered1=kGreen+1, Color_t clustered2=kTeal,
64 Color_t supercluster=kYellow);
69 void fillData(TEveCaloDataVec *
data);
91 return ( lhs.
eta() < rhs.
eta());
94 float sizeRad()
const;
98 #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
bool operator()(const reco::CaloCluster &lhs, const reco::CaloCluster &rhs)
char data[epos_bytes_allocation]
static bool superClusterEtaLess(const reco::CaloCluster &lhs, const reco::CaloCluster &rhs)
std::vector< FWBoxRecHit * > m_boxes