Classes | Typedefs | Enumerations | Functions
art::input Namespace Reference

Classes

struct  BranchInfo
 

Typedefs

using BranchMap = std::map< BranchKey const, BranchInfo >
 
using EntryNumber = Long64_t
 
using EntryNumbers = std::vector< EntryNumber >
 

Enumerations

enum  ItemType {
  IsInvalid, IsStop, IsFile, IsRun,
  IsSubRun, IsEvent
}
 

Functions

std::ostream & operator<< (std::ostream &os, ItemType const it)
 
Int_t getEntry (TBranch *branch, EntryNumber entryNumber)
 
Int_t getEntry (TTree *tree, EntryNumber entryNumber)
 

Typedef Documentation

using art::input::BranchMap = typedef std::map<BranchKey const, BranchInfo>

Definition at line 46 of file Inputfwd.h.

using art::input::EntryNumber = typedef Long64_t

Definition at line 47 of file Inputfwd.h.

using art::input::EntryNumbers = typedef std::vector<EntryNumber>

Definition at line 48 of file Inputfwd.h.

Enumeration Type Documentation

Enumerator
IsInvalid 
IsStop 
IsFile 
IsRun 
IsSubRun 
IsEvent 

Definition at line 21 of file InputSource.h.

Function Documentation

Int_t art::input::getEntry ( TBranch *  branch,
EntryNumber  entryNumber 
)
Int_t art::input::getEntry ( TTree *  tree,
EntryNumber  entryNumber 
)
std::ostream& art::input::operator<< ( std::ostream &  os,
ItemType const  it 
)
inline

Definition at line 23 of file InputSource.h.

References IsFile, IsInvalid, IsRun, IsStop, and IsSubRun.

24  {
25  switch (it) {
26  case IsInvalid:
27  os << "Invalid";
28  break;
29  case IsStop:
30  os << "Stop";
31  break;
32  case IsFile:
33  os << "InputFile";
34  break;
35  case IsRun:
36  os << "Run";
37  break;
38  case IsSubRun:
39  os << "SubRun";
40  break;
41  case IsEvent:
42  os << "Event";
43  }
44  return os;
45  }
set< int >::iterator it