LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
MixTypes.h
Go to the documentation of this file.
1 #ifndef art_Framework_IO_ProductMix_MixTypes_h
2 #define art_Framework_IO_ProductMix_MixTypes_h
3 
5 
6 #include <functional>
7 #include <map>
8 #include <vector>
9 
10 namespace art {
11  class EventAuxiliary;
12  class EventID;
13  class PtrRemapper;
14 
15  template <typename PROD, typename OPROD = PROD>
16  using MixFunc = std::function<
17  bool(std::vector<PROD const*> const&, OPROD&, PtrRemapper const&)>;
18 
19  using EventIDIndex = std::map<FileIndex::EntryNumber_t, EventID>;
20  using SubRunIDIndex = std::map<SubRunID, FileIndex::EntryNumber_t>;
21  using RunIDIndex = std::map<SubRunID, FileIndex::EntryNumber_t>;
22  using EventIDSequence = std::vector<EventID>;
23  using EntryNumberSequence = std::vector<FileIndex::EntryNumber_t>;
24  using EventAuxiliarySequence = std::vector<EventAuxiliary>;
25 }
26 
27 #endif /* art_Framework_IO_ProductMix_MixTypes_h */
28 
29 // Local Variables:
30 // mode: c++
31 // End:
std::vector< EventAuxiliary > EventAuxiliarySequence
Definition: MixTypes.h:24
std::vector< EventID > EventIDSequence
Definition: MixTypes.h:22
std::function< bool(std::vector< PROD const * > const &, OPROD &, PtrRemapper const &)> MixFunc
Definition: MixTypes.h:17
std::map< SubRunID, FileIndex::EntryNumber_t > RunIDIndex
Definition: MixTypes.h:21
std::vector< FileIndex::EntryNumber_t > EntryNumberSequence
Definition: MixTypes.h:23
std::map< SubRunID, FileIndex::EntryNumber_t > SubRunIDIndex
Definition: MixTypes.h:20
std::map< FileIndex::EntryNumber_t, EventID > EventIDIndex
Definition: MixTypes.h:19
HLT enums.