CMS 3D CMS Logo

DistServer.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackerTFP_DistServer_h__
2 #define L1Trigger_TrackerTFP_DistServer_h__
3 
5 
6 #include <vector>
7 
8 namespace trackerTFP {
9 
10  class DistServer {
11  public:
12  DistServer(unsigned int nInputs, unsigned int nOutputs, unsigned int nInterleaving);
14 
16 
17  unsigned int nInputs() const { return nInputs_; }
18  unsigned int nOutputs() const { return nOutputs_; }
19  unsigned int nInterleaving() const { return nInterleaving_; }
20  std::vector<std::vector<unsigned int> >& addr() { return addr_; }
22 
23  private:
24  unsigned int nInputs_;
25  unsigned int nOutputs_;
26  unsigned int nInterleaving_;
27 
29  std::vector<std::vector<unsigned int> > addr_;
30  };
31 } // namespace trackerTFP
32 
33 #endif
std::vector< std::vector< unsigned int > > & addr()
Definition: DistServer.h:20
DistServer(unsigned int nInputs, unsigned int nOutputs, unsigned int nInterleaving)
Definition: DistServer.cc:10
unsigned int nInputs() const
Definition: DistServer.h:17
TrackKFOutSAPtrCollections inputs_
Definition: DistServer.h:28
std::vector< std::vector< std::shared_ptr< TrackKFOut > > > TrackKFOutSAPtrCollections
Definition: DataFormats.h:1030
unsigned int nOutputs_
Definition: DistServer.h:25
std::vector< TrackKFOutSAPtr > TrackKFOutSAPtrCollection
Definition: DataFormats.h:1029
TrackKFOutSAPtrCollection clock(TrackKFOutSAPtrCollection &inputs)
Definition: DistServer.cc:20
std::vector< std::vector< unsigned int > > addr_
Definition: DistServer.h:29
unsigned int nInterleaving_
Definition: DistServer.h:26
TrackKFOutSAPtrCollections & inputs()
Definition: DistServer.h:21
unsigned int nInputs_
Definition: DistServer.h:24
unsigned int nInterleaving() const
Definition: DistServer.h:19
unsigned int nOutputs() const
Definition: DistServer.h:18