GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CollectOff.C
Go to the documentation of this file.
1 
2 void CollectOff()
3 {
4  if ( TVirtualPad::Pad() ) {
5  TCanvas *c = TVirtualPad::Pad()->GetCanvas(); ClickCollector *thecollector = ClickCollector::TheCollector();
6  thecollector->SetMode(false);
7 
8  cout << " - Stop collecting clicks in " << c->GetName() << endl ;
9  }
10 }
11 
void SetMode(Bool_t mode=true)
Definition: CollectOn.C:42
void CollectOff()
Definition: CollectOff.C:2
static ClickCollector * TheCollector()
Definition: CollectOn.C:62
ADF::LogMessage & endl(ADF::LogMessage &log)