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 
6 
7 #include <functional>
8 #include <map>
9 #include <memory>
10 #include <vector>
11 
12 namespace art {
13  class EventAuxiliary;
14  class EventID;
15  class PtrRemapper;
16 
17  template <typename PROD, typename OPROD = PROD>
18  using MixFunc = std::function<
19  bool(std::vector<PROD const*> const&, OPROD&, PtrRemapper const&)>;
20 
21  using SpecProdList = std::vector<std::shared_ptr<EDProduct const>>;
22 
23  using EventIDIndex = std::map<FileIndex::EntryNumber_t, EventID>;
24  using SubRunIDIndex = std::map<SubRunID, FileIndex::EntryNumber_t>;
25  using RunIDIndex = std::map<SubRunID, FileIndex::EntryNumber_t>;
26  using EventIDSequence = std::vector<EventID>;
27  using EntryNumberSequence = std::vector<FileIndex::EntryNumber_t>;
28  using EventAuxiliarySequence = std::vector<EventAuxiliary>;
29 } // namespace art
30 
31 #endif /* art_Framework_IO_ProductMix_MixTypes_h */
32 
33 // Local Variables:
34 // mode: c++
35 // End:
std::vector< EventAuxiliary > EventAuxiliarySequence
Definition: MixTypes.h:28
std::vector< EventID > EventIDSequence
Definition: MixTypes.h:26
std::vector< std::shared_ptr< EDProduct const >> SpecProdList
Definition: MixTypes.h:21
std::function< bool(std::vector< PROD const * > const &, OPROD &, PtrRemapper const &)> MixFunc
Definition: MixTypes.h:19
std::map< SubRunID, FileIndex::EntryNumber_t > RunIDIndex
Definition: MixTypes.h:25
std::vector< FileIndex::EntryNumber_t > EntryNumberSequence
Definition: MixTypes.h:27
std::map< SubRunID, FileIndex::EntryNumber_t > SubRunIDIndex
Definition: MixTypes.h:24
std::map< FileIndex::EntryNumber_t, EventID > EventIDIndex
Definition: MixTypes.h:23
void function(int client, int *resource, int parblock, int *test, int p)
int bool
Definition: qglobal.h:345