CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
HcalVisualSelector Class Reference

#include <HcalVisualSelector.h>

Classes

class  Callbacks
 

Public Member Functions

void fill (const MyHcalDetId &id, double value)
 
 HcalVisualSelector (Callbacks *cb, int ieta_lo=-41, int ieta_hi=41, int iphi_lo=1, int iphi_hi=72)
 
void onEvent (int event, int x, int y, TObject *selected)
 
void Update ()
 

Private Attributes

TCanvas * m_canvas
 
Callbacksm_cb
 
TH2 * m_hist [4]
 

Detailed Description

Definition at line 9 of file HcalVisualSelector.h.

Constructor & Destructor Documentation

◆ HcalVisualSelector()

HcalVisualSelector::HcalVisualSelector ( Callbacks cb,
int  ieta_lo = -41,
int  ieta_hi = 41,
int  iphi_lo = 1,
int  iphi_hi = 72 
)

Member Function Documentation

◆ fill()

void HcalVisualSelector::fill ( const MyHcalDetId id,
double  value 
)

◆ onEvent()

void HcalVisualSelector::onEvent ( int  event,
int  x,
int  y,
TObject *  selected 
)

◆ Update()

void HcalVisualSelector::Update ( )

Member Data Documentation

◆ m_canvas

TCanvas* HcalVisualSelector::m_canvas
private

Definition at line 26 of file HcalVisualSelector.h.

◆ m_cb

Callbacks* HcalVisualSelector::m_cb
private

Definition at line 25 of file HcalVisualSelector.h.

◆ m_hist

TH2* HcalVisualSelector::m_hist[4]
private

Definition at line 27 of file HcalVisualSelector.h.