CMS 3D CMS Logo

tdr_regionizer_ref.h
Go to the documentation of this file.
1 #ifndef tdr_regionizer_ref_h
2 #define tdr_regionizer_ref_h
3 
6 
7 namespace edm {
8  class ParameterSet;
10 } // namespace edm
11 
12 namespace l1ct {
14  public:
15  TDRRegionizerEmulator(uint32_t ntk,
16  uint32_t ncalo,
17  uint32_t nem,
18  uint32_t nmu,
19  uint32_t nclocks,
20  std::vector<int32_t> bigRegionEdges,
21  bool dosort);
22 
23  // note: this one will work only in CMSSW
25 
26  ~TDRRegionizerEmulator() override;
27 
29 
30  void initSectorsAndRegions(const RegionizerDecodedInputs& in, const std::vector<PFInputRegion>& out) override;
31 
32  void run(const RegionizerDecodedInputs& in, std::vector<PFInputRegion>& out) override;
33 
34  private:
36  uint32_t nBigRegions_;
38  uint32_t ntk_, ncalo_, nem_, nmu_;
40  uint32_t nclocks_;
41 
43  std::vector<int32_t> bigRegionEdges_;
44 
45  bool dosort_;
46 
48  uint32_t netaInBR_, nphiInBR_;
49 
50  bool init_; // has initialization happened
51 
52  std::vector<tdr_regionizer::Regionizer<l1ct::TkObjEmu>> tkRegionizers_;
53  std::vector<tdr_regionizer::Regionizer<l1ct::HadCaloObjEmu>> hadCaloRegionizers_;
54  std::vector<tdr_regionizer::Regionizer<l1ct::EmCaloObjEmu>> emCaloRegionizers_;
55  std::vector<tdr_regionizer::Regionizer<l1ct::MuObjEmu>> muRegionizers_;
56  };
57 
58 } // namespace l1ct
59 
60 #endif
std::vector< tdr_regionizer::Regionizer< l1ct::EmCaloObjEmu > > emCaloRegionizers_
std::vector< tdr_regionizer::Regionizer< l1ct::MuObjEmu > > muRegionizers_
uint32_t nclocks_
The number of clocks to receive all data of an event (TMUX18 = 162)
uint32_t nBigRegions_
The nubmer of barrel big regions (boards)
static edm::ParameterSetDescription getParameterSetDescription()
std::vector< tdr_regionizer::Regionizer< l1ct::HadCaloObjEmu > > hadCaloRegionizers_
uint32_t ntk_
The maximum number of objects of each type to output per small region.
uint32_t netaInBR_
The number of eta and phi small regions in a big region (board)
void initSectorsAndRegions(const RegionizerDecodedInputs &in, const std::vector< PFInputRegion > &out) override
TDRRegionizerEmulator(uint32_t ntk, uint32_t ncalo, uint32_t nem, uint32_t nmu, uint32_t nclocks, std::vector< int32_t > bigRegionEdges, bool dosort)
std::vector< int32_t > bigRegionEdges_
The phi edges of the big regions (boards); one greater than the number of boards. ...
void run(const RegionizerDecodedInputs &in, std::vector< PFInputRegion > &out) override
HLT enums.
std::vector< tdr_regionizer::Regionizer< l1ct::TkObjEmu > > tkRegionizers_
Definition: datatypes.h:8