]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
restore AliMUONDisplay-trigger-button action (Christian)
authorpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 8 Sep 2004 08:16:48 +0000 (08:16 +0000)
committerpcrochet <pcrochet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 8 Sep 2004 08:16:48 +0000 (08:16 +0000)
MUON/AliMUONData.cxx
MUON/AliMUONDisplay.cxx

index 2d2d8ceacb99aa77f060b698fd98584f94eb1da7..dd02c28191633f17c02cca826219a4783242a491 100644 (file)
@@ -899,8 +899,8 @@ void AliMUONData::SetTreeAddress(Option_t* option)
   
   //
   // Branch address for digit tree
-  if ( TreeD() && cD) {
-    if (fDigits == 0x0) { 
+  if ( TreeD() ) {      
+    if (fDigits == 0x0 && cD) {
       fDigits = new TObjArray(AliMUONConstants::NCh());
       fNdigits= new Int_t[AliMUONConstants::NCh()];
       for (Int_t i=0; i<AliMUONConstants::NCh() ;i++) {
index a651d9a6d29c6e0169fafb98e54036a35c8f4e5b..0d444aec5c1aed516c84fdf82ab0a68a778c9859 100644 (file)
@@ -1073,7 +1073,7 @@ void AliMUONDisplay::Trigger()
   AliMUONGlobalTrigger* globalTrig;
 
   GetMUONData()->SetTreeAddress("GLT");
-  GetMUONData()->GetTrigger();
+  GetMUONData()->GetTriggerD();
 
   globalTrig =  (AliMUONGlobalTrigger*)GetMUONData()->GlobalTrigger()->UncheckedAt(0);
   if (globalTrig == 0) return;