ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/src/BranchName.cc
Revision: 1.1
Committed: Fri Mar 13 08:40:01 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Added BranchName class.

File Contents

# User Rev Content
1 loizides 1.1 // $Id: TriggerName.cc,v 1.4 2008/12/08 16:42:53 loizides Exp $
2    
3     #include "MitAna/DataTree/interface/BranchName.h"
4    
5     ClassImp(mithep::BranchName)
6    
7     using namespace mithep;
8    
9     //--------------------------------------------------------------------------------------------------
10     void BranchName::Print(Option_t *opt) const
11     {
12     // Print trigger id and name.
13    
14     // printf("%03d: %s\n", fId, fName.Data());
15     }
16    
17     #if 0
18     //--------------------------------------------------------------------------------------------------
19     void TriggerTable::Print(Option_t *opt) const
20     {
21     // Print trigger table content (not ordered!)
22    
23     TIter iter(MakeIterator());
24     const TriggerName *tn = dynamic_cast<const TriggerName*>(iter.Next());
25     while (tn) {
26     tn->Print();
27     tn = dynamic_cast<const TriggerName*>(iter.Next());
28     }
29     }
30     #endif