CMS 3D CMS Logo

CollUtil.h
Go to the documentation of this file.
1 #ifndef Modules_CollUtil_h
2 #define Modules_CollUtil_h
3 
4 #include "Rtypes.h"
5 
6 #include <string>
7 
8 class TFile;
9 class TTree;
10 
11 namespace edm {
12 
13  TFile *openFileHdl(const std::string &fname);
14  void printTrees(TFile *hdl);
15  Long64_t numEntries(TFile *hdl, const std::string &trname);
16  void printBranchNames(TTree *tree);
17  void longBranchPrint(TTree *tr);
18  std::string getUuid(TTree *uuidTree);
19  void printUuids(TTree *uuidTree);
20  void printEventLists(TFile *tfl);
21  void printEventsInLumis(TFile *tfl);
22 } // namespace edm
23 
24 #endif
void longBranchPrint(TTree *tr)
Definition: CollUtil.cc:87
void printUuids(TTree *uuidTree)
Definition: CollUtil.cc:106
Long64_t numEntries(TFile *hdl, std::string const &trname)
Definition: CollUtil.cc:50
std::string getUuid(TTree *uuidTree)
Definition: CollUtil.cc:98
void printTrees(TFile *hdl)
Definition: CollUtil.cc:35
void printBranchNames(TTree *tree)
Definition: CollUtil.cc:72
void printEventLists(TFile *tfl)
Definition: CollUtil.cc:237
string fname
main script
void printEventsInLumis(TFile *tfl)
Definition: CollUtil.cc:357
HLT enums.
Definition: tree.py:1
TFile * openFileHdl(std::string const &fname)
Definition: CollUtil.cc:24