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;
9 }
10 
11 namespace l1ct {
13  public:
14  TDRRegionizerEmulator(uint32_t ntk,
15  uint32_t ncalo,
16  uint32_t nem,
17  uint32_t nmu,
18  uint32_t nclocks,
19  std::vector<int32_t> bigRegionEdges,
20  bool dosort);
21 
22  // note: this one will work only in CMSSW
24 
25  ~TDRRegionizerEmulator() override;
26 
27  void initSectorsAndRegions(const RegionizerDecodedInputs& in, const std::vector<PFInputRegion>& out) override;
28 
29  void run(const RegionizerDecodedInputs& in, std::vector<PFInputRegion>& out) override;
30 
31  private:
33  uint32_t nBigRegions_;
35  uint32_t ntk_, ncalo_, nem_, nmu_;
37  uint32_t nclocks_;
38 
40  std::vector<int32_t> bigRegionEdges_;
41 
42  bool dosort_;
43 
45  uint32_t netaInBR_, nphiInBR_;
46 
47  bool init_; // has initialization happened
48 
49  std::vector<tdr_regionizer::Regionizer<l1ct::TkObjEmu>> tkRegionizers_;
50  std::vector<tdr_regionizer::Regionizer<l1ct::HadCaloObjEmu>> hadCaloRegionizers_;
51  std::vector<tdr_regionizer::Regionizer<l1ct::EmCaloObjEmu>> emCaloRegionizers_;
52  std::vector<tdr_regionizer::Regionizer<l1ct::MuObjEmu>> muRegionizers_;
53  };
54 
55 } // namespace l1ct
56 
57 #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)
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:17