CMS 3D CMS Logo

L1GctJetFinderBase.h
Go to the documentation of this file.
1 #ifndef L1GCTJETFINDERBASE_H_
2 #define L1GCTJETFINDERBASE_H_
3 
7 
11 
14 
15 #include <vector>
16 
17 class L1GctInternJetData;
20 class L1GctChannelMask;
21 class L1CaloRegion;
22 
43 /*
44  * \author Jim Brooke & Greg Heath
45  * \date June 2006
46  */
47 
49 public:
50  //Typedefs
51  typedef unsigned long int ULong;
52  typedef unsigned short int UShort;
53  typedef std::vector<L1GctRegion> RegionsVector;
54  typedef std::vector<L1GctJet> RawJetVector;
55  typedef std::vector<L1GctJetCand> JetVector;
61 
62  enum maxValues {
65  };
66 
67  // For HF-based triggers we sum the Et in the two "inner" (large eta) rings;
68  // and count towers over threshold based on the "fineGrain" bit from the RCT.
69  // Define a data type to transfer the result of all calculations.
70  // The results are defined as L1GctJetCount types since they don't have
71  // a separate overFlow bit. An overflow condition gives value=max.
72 
73  struct hfTowerSumsType {
75 
80 
81  // Define some constructors and an addition operator for our data type
83  hfTowerSumsType(unsigned e0, unsigned e1, unsigned n0, unsigned n1)
90 
91  void reset() {
92  etSum0.reset();
93  etSum1.reset();
96  }
97 
99  hfTowerSumsType temp((this->etSum0 + rhs.etSum0),
100  (this->etSum1 + rhs.etSum1),
101  (this->nOverThreshold0 + rhs.nOverThreshold0),
102  (this->nOverThreshold1 + rhs.nOverThreshold1));
103  return temp;
104  }
105  };
106 
108  typedef std::vector<lutPtr> lutPtrVector;
109 
110  //Statics
111  static const unsigned int MAX_JETS_OUT;
112  static const unsigned int COL_OFFSET;
113  static const unsigned int N_JF_PER_WHEEL;
114  static const unsigned int
116 
118  L1GctJetFinderBase(int id);
119 
120  ~L1GctJetFinderBase() override;
121 
123  void setNeighbourJetFinders(const std::vector<L1GctJetFinderBase*>& neighbours);
124 
126  void setJetFinderParams(const L1GctJetFinderParams* jfpars);
127 
129  void setJetEtCalibrationLuts(const lutPtrVector& jfluts);
130 
132  void setEnergySumMasks(const L1GctChannelMask* chmask);
133 
135  void setupTauAlgo(const bool useImprovedAlgo, const bool ignoreVetoBitsForIsolation) {
136  m_useImprovedTauAlgo = useImprovedAlgo;
137  m_ignoreTauVetoBitsForIsolation = ignoreVetoBitsForIsolation;
138  }
139 
141  bool setupOk() const {
143  }
144 
146  friend std::ostream& operator<<(std::ostream& os, const L1GctJetFinderBase& algo);
147 
149  void fetchInput() override = 0;
150 
152  void process() override = 0;
153 
155  void setInputRegion(const L1CaloRegion& region);
156 
159 
162 
165 
168 
171 
173  std::vector<L1GctInternJetData> getInternalJets() const;
174 
176  std::vector<L1GctInternEtSum> getInternalEtSums() const;
177  std::vector<L1GctInternHtMiss> getInternalHtMiss() const;
178 
180  const lutPtrVector getJetEtCalLuts() const { return m_jetEtCalLuts; }
181 
182  // The hardware output quantities
183  JetVector getJets() const { return m_sortedJets; }
184  // The hardware output quantities - refactored
185  etTotalType getEtSum() const { return m_outputEtSum; }
187  return m_outputExSum;
188  }
190  return m_outputEySum;
191  }
192  etHadType getHtSum() const { return m_outputHtSum; }
194  return m_outputHxSum;
195  }
197  return m_outputHySum;
198  }
199 
201  return m_outputHfSums;
202  }
203 
204  // Access to threshold and cut values
205  unsigned getCenJetSeed() const { return m_CenJetSeed; }
206  unsigned getFwdJetSeed() const { return m_FwdJetSeed; }
207  unsigned getTauJetSeed() const { return m_TauJetSeed; }
208  unsigned getEtaBoundry() const { return m_EtaBoundry; }
210  unsigned getHttSumJetThreshold() const { return m_HttSumJetThreshold; }
211  unsigned getHtmSumJetThreshold() const { return m_HtmSumJetThreshold; }
212 
213 protected:
215  void resetProcessor() override;
216  void resetPipelines() override;
217 
219  void setupObjects() override;
220 
221 protected:
223  enum fetchType { TOP, BOT, TOPBOT };
224 
226  int m_id;
227 
229  std::vector<L1GctJetFinderBase*> m_neighbourJetFinders;
230 
233 
236 
239 
242 
245 
251 
253  unsigned m_minColThisJf;
260  unsigned m_CenJetSeed;
261  unsigned m_FwdJetSeed;
262  unsigned m_TauJetSeed;
263  unsigned m_EtaBoundry;
264 
267 
269  // If the following parameter is set to false, the tau identification
270  // is just based on the RCT tau veto bits from the nine regions
272 
273  // If useImprovedTauAlgo is true, these two parameters affect
274  // the operation of the algorithm.
275 
276  // We can require the tau veto bits to be off in all nine regions,
277  // or just in the central region.
279 
280  // In the improved tau algorithm, we require no more than one tower energy to be
281  // above the isolation threshold, in the eight regions surrounding the central one.
283 
284  // Thresholds on individual jet energies used in HTT and HTM summing
287 
288  // Masks for restricting the eta range of energy sums
289  bool m_EttMask[11];
290  bool m_EtmMask[11];
291  bool m_HttMask[11];
292  bool m_HtmMask[11];
293 
303 
310 
314 
322 
324 
329  //PROTECTED METHODS
330  // Return the values of constants that might be changed by different jetFinders.
331  // Each jetFinder must define the constants as private and copy the
332  // function definitions below.
333  virtual unsigned maxRegionsIn() const { return MAX_REGIONS_IN; }
334  virtual unsigned centralCol0() const { return CENTRAL_COL0; }
335  virtual unsigned nCols() const { return N_COLS; }
336 
339  void fetchProtoJetsFromNeighbour(const fetchType ft);
341  void sortJets();
343  void doEnergySums();
344 
346  etTotalType calcEtStrip(const UShort strip) const;
347 
349  etTotalType calcHtStrip(const UShort strip) const;
350 
352  void doEtSums();
353 
355  void doHtSums();
356 
358  hfTowerSumsType calcHfSums() const;
359 
360 private:
362  static const unsigned int MAX_REGIONS_IN;
363  static const unsigned int N_COLS;
364  static const unsigned int CENTRAL_COL0;
365 
368 
376 
378  template <int kBitsInput, int kBitsOutput>
380  const unsigned& fact0,
381  const L1GctUnsignedInt<kBitsInput>& etStrip1,
382  const unsigned& fact1);
383 };
384 
385 std::ostream& operator<<(std::ostream& os, const L1GctJetFinderBase& algo);
386 
387 #endif /*L1GCTJETFINDERBASE_H_*/
L1GctJetFinderBase::COL_OFFSET
static const unsigned int COL_OFFSET
The index offset between columns.
Definition: L1GctJetFinderBase.h:112
L1GctJetFinderBase::UShort
unsigned short int UShort
Definition: L1GctJetFinderBase.h:52
L1GctJetFinderBase::etHadType
L1GctUnsignedInt< L1GctInternEtSum::kTotEtOrHtNBits > etHadType
Definition: L1GctJetFinderBase.h:58
L1GctJetFinderBase::RegionsVector
std::vector< L1GctRegion > RegionsVector
Definition: L1GctJetFinderBase.h:53
L1GctJetFinderBase::m_jetEtCalLuts
lutPtrVector m_jetEtCalLuts
Jet Et Conversion LUT pointer.
Definition: L1GctJetFinderBase.h:266
L1GctJetFinderBase::m_TauJetSeed
unsigned m_TauJetSeed
Definition: L1GctJetFinderBase.h:262
L1GctJetFinderBase::m_outputHySum
htCompInternJfType m_outputHySum
Definition: L1GctJetFinderBase.h:321
L1GctJetFinderBase::etTotalMaxValue
Definition: L1GctJetFinderBase.h:63
L1GctJetFinderBase::getInternalJets
std::vector< L1GctInternJetData > getInternalJets() const
get output jets in raw format - to be stored in the event
Definition: L1GctJetFinderBase.cc:263
L1GctJetFinderBase::etCompInternJfType
L1GctTwosComplement< L1GctInternEtSum::kJetMissEtNBits > etCompInternJfType
Definition: L1GctJetFinderBase.h:59
L1GctJetFinderBase::N_EXTRA_REGIONS_ETA00
static const unsigned int N_EXTRA_REGIONS_ETA00
Number of additional regions to process on the "wrong" side of eta=0 (determines COL_OFFSET)
Definition: L1GctJetFinderBase.h:115
L1GctJetFinderBase::m_outputEySumPipe
Pipeline< etCompInternJfType > m_outputEySumPipe
Definition: L1GctJetFinderBase.h:372
L1GctJetFinderBase::hfTowerSumsType::nOverThreshold0
L1GctJetCount< kHfCountBits > nOverThreshold0
Definition: L1GctJetFinderBase.h:78
L1GctJetFinderBase::m_keptProtoJets
RegionsVector m_keptProtoJets
List of pre-clustered jets retained locally as input to the final clustering.
Definition: L1GctJetFinderBase.h:309
L1GctJetFinderBase::m_gotChannelMask
bool m_gotChannelMask
Remember whether channel mask have been stored.
Definition: L1GctJetFinderBase.h:244
L1GctJetFinderBase::m_EtmMask
bool m_EtmMask[11]
Definition: L1GctJetFinderBase.h:290
L1GctJetFinderBase::m_neighbourJetFinders
std::vector< L1GctJetFinderBase * > m_neighbourJetFinders
Store neighbour pointers.
Definition: L1GctJetFinderBase.h:229
L1GctJetFinderBase::MAX_REGIONS_IN
static const unsigned int MAX_REGIONS_IN
The real jetFinders must define these constants.
Definition: L1GctJetFinderBase.h:362
L1CaloRegion
A calorimeter trigger region (sum of 4x4 trigger towers)
Definition: L1CaloRegion.h:21
L1GctUnsignedInt.h
L1GctJetFinderBase::setupTauAlgo
void setupTauAlgo(const bool useImprovedAlgo, const bool ignoreVetoBitsForIsolation)
Setup the tau algorithm parameters.
Definition: L1GctJetFinderBase.h:135
L1GctRegion.h
L1GctJetFinderBase::m_outputJetsPipe
RawJetPipeline m_outputJetsPipe
Output jets "pipeline memory" for checking.
Definition: L1GctJetFinderBase.h:367
L1GctJetFinderBase::MAX_JETS_OUT
static const unsigned int MAX_JETS_OUT
Max of 6 jets found per jetfinder in a 2*11 search area.
Definition: L1GctJetFinderBase.h:111
L1GctJetFinderBase::m_positiveEtaWheel
bool m_positiveEtaWheel
Definition: L1GctJetFinderBase.h:250
L1GctJetFinderBase::getHySum
htCompInternJfType getHySum() const
Get the y component of vector Ht summed over jets above threshold.
Definition: L1GctJetFinderBase.h:196
L1GctJetFinderBase::getJets
JetVector getJets() const
Get the located jets.
Definition: L1GctJetFinderBase.h:183
L1GctJet::lutPtr
std::shared_ptr< L1GctJetEtCalibrationLut > lutPtr
Definition: L1GctJet.h:32
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
L1GctJetFinderBase::RawJetPipeline
Pipeline< L1GctJet > RawJetPipeline
Definition: L1GctJetFinderBase.h:56
L1GctJetFinderBase::htTotalMaxValue
Definition: L1GctJetFinderBase.h:64
L1GctJetFinderBase::setEnergySumMasks
void setEnergySumMasks(const L1GctChannelMask *chmask)
Set masks for energy summing.
Definition: L1GctJetFinderBase.cc:130
L1GctJetFinderBase::m_outputJets
RawJetVector m_outputJets
output jets
Definition: L1GctJetFinderBase.h:312
L1GctJetFinderBase::getHxSum
htCompInternJfType getHxSum() const
Get the x component of vector Ht summed over jets above threshold.
Definition: L1GctJetFinderBase.h:193
L1GctJetFinderBase::m_EtaBoundry
unsigned m_EtaBoundry
Definition: L1GctJetFinderBase.h:263
L1GctJetFinderBase
Base class to allow implementation of jetFinder algorithms.
Definition: L1GctJetFinderBase.h:48
L1GctJetFinderBase::doEtSums
void doEtSums()
Calculates scalar and vector sum of Et over input regions.
Definition: L1GctJetFinderBase.cc:367
n0
int n0
Definition: AMPTWrapper.h:44
L1GctJetFinderBase::hfTowerSumsType::hfTowerSumsType
hfTowerSumsType(L1GctJetCount< kHfEtSumBits > e0, L1GctJetCount< kHfEtSumBits > e1, L1GctJetCount< kHfCountBits > n0, L1GctJetCount< kHfCountBits > n1)
Definition: L1GctJetFinderBase.h:85
L1GctJetFinderBase::lutPtrVector
std::vector< lutPtr > lutPtrVector
Definition: L1GctJetFinderBase.h:108
L1GctJetFinderBase::resetPipelines
void resetPipelines() override
Definition: L1GctJetFinderBase.cc:204
operator<<
std::ostream & operator<<(std::ostream &os, const L1GctJetFinderBase &algo)
Definition: L1GctJetFinderBase.cc:151
L1GctJetFinderBase::m_EttMask
bool m_EttMask[11]
Definition: L1GctJetFinderBase.h:289
L1GctJetFinderBase::setInputRegion
void setInputRegion(const L1CaloRegion &region)
Set input data.
Definition: L1GctJetFinderBase.cc:237
L1GctJetFinderBase::hfTowerSumsType::etSum1
L1GctJetCount< kHfEtSumBits > etSum1
Definition: L1GctJetFinderBase.h:77
L1GctJetFinderBase::m_outputExSumPipe
Pipeline< etCompInternJfType > m_outputExSumPipe
Definition: L1GctJetFinderBase.h:371
L1GctJetFinderBase::maxRegionsIn
virtual unsigned maxRegionsIn() const
Definition: L1GctJetFinderBase.h:333
L1GctJetFinderBase::maxValues
maxValues
Definition: L1GctJetFinderBase.h:62
L1GctJetFinderBase::hfTowerSumsType::kHfEtSumBits
Definition: L1GctJetFinderBase.h:74
L1GctJetFinderBase::hfTowerSumsType::nOverThreshold1
L1GctJetCount< kHfCountBits > nOverThreshold1
Definition: L1GctJetFinderBase.h:79
L1GctJetFinderBase::m_outputHtSumPipe
Pipeline< etHadType > m_outputHtSumPipe
Definition: L1GctJetFinderBase.h:373
L1GctJetFinderBase::getInternalEtSums
std::vector< L1GctInternEtSum > getInternalEtSums() const
get et sums in raw format - to be stored in the event
Definition: L1GctJetFinderBase.cc:280
groupFilesInBlocks.temp
list temp
Definition: groupFilesInBlocks.py:142
L1GctJetFinderBase::hfTowerSumsType::kHfCountBits
Definition: L1GctJetFinderBase.h:74
L1GctJetFinderBase::calcHtStrip
etTotalType calcHtStrip(const UShort strip) const
Calculates total calibrated energy in jets (Ht) sum.
L1GctJetFinderBase::etComponentForJetFinder
L1GctTwosComplement< kBitsOutput > etComponentForJetFinder(const L1GctUnsignedInt< kBitsInput > &etStrip0, const unsigned &fact0, const L1GctUnsignedInt< kBitsInput > &etStrip1, const unsigned &fact1)
Private method for calculating MEt and MHt components.
Definition: L1GctJetFinderBase.cc:500
L1GctInternEtSum::kTotEtOrHtMaxValue
Definition: L1GctInternEtSum.h:33
L1GctJetFinderBase::N_COLS
static const unsigned int N_COLS
Definition: L1GctJetFinderBase.h:363
L1GctJetFinderBase::setNeighbourJetFinders
void setNeighbourJetFinders(const std::vector< L1GctJetFinderBase * > &neighbours)
Set pointers to neighbours - needed to complete the setup.
Definition: L1GctJetFinderBase.cc:80
L1GctJetFinderBase::fetchProtoJetsFromNeighbour
void fetchProtoJetsFromNeighbour(const fetchType ft)
fetch the protoJets from neighbour jetFinder
Definition: L1GctJetFinderBase.cc:313
cmsdt::algo
algo
Definition: constants.h:165
L1GctJetEtCalibrationLut
Jet Et calibration LUT.
Definition: L1GctJetEtCalibrationLut.h:28
L1GctJetFinderBase::hfTowerSumsType::operator+
hfTowerSumsType operator+(const hfTowerSumsType &rhs) const
Definition: L1GctJetFinderBase.h:98
L1GctJetFinderBase::getFwdJetSeed
unsigned getFwdJetSeed() const
Definition: L1GctJetFinderBase.h:206
L1GctJetFinderBase::hfTowerSumsType::hfTowerSumsType
hfTowerSumsType()
Definition: L1GctJetFinderBase.h:82
L1GctProcessor::Pipeline::contents
std::vector< T > contents
Definition: L1GctProcessor.h:85
L1GctJetCand.h
L1GctJetFinderBase::htCompInternJfType
L1GctTwosComplement< L1GctInternHtMiss::kJetMissHtNBits > htCompInternJfType
Definition: L1GctJetFinderBase.h:60
L1GctJetFinderBase::RawJetVector
std::vector< L1GctJet > RawJetVector
Definition: L1GctJetFinderBase.h:54
L1GctJetFinderBase::m_rcvdProtoJets
RegionsVector m_rcvdProtoJets
List of pre-clustered jets received from neighbour before the final stage of clustering.
Definition: L1GctJetFinderBase.h:307
L1GctJetFinderBase::m_gotJetEtCalLuts
bool m_gotJetEtCalLuts
Remember whether jet Et calibration Lut pointers have been stored.
Definition: L1GctJetFinderBase.h:241
L1GctJetFinderBase::setupObjects
void setupObjects() override
Initialise inputs with null objects for the correct bunch crossing if required.
Definition: L1GctJetFinderBase.cc:217
L1GctJetFinderBase::calcHfSums
hfTowerSumsType calcHfSums() const
Calculates Et sum and number of towers over threshold in Hf.
Definition: L1GctJetFinderBase.cc:464
L1GctJetFinderBase::CENTRAL_COL0
static const unsigned int CENTRAL_COL0
Definition: L1GctJetFinderBase.h:364
L1GctJetFinderBase::m_outputHfSums
hfTowerSumsType m_outputHfSums
Definition: L1GctJetFinderBase.h:323
L1GctJetFinderBase::operator<<
friend std::ostream & operator<<(std::ostream &os, const L1GctJetFinderBase &algo)
Overload << operator.
Definition: L1GctJetFinderBase.cc:151
L1GctJetFinderBase::setJetEtCalibrationLuts
void setJetEtCalibrationLuts(const lutPtrVector &jfluts)
Set pointer to calibration Lut - needed to complete the setup.
Definition: L1GctJetFinderBase.cc:124
L1GctJetFinderBase::getRcvdProtoJets
RegionsVector getRcvdProtoJets() const
get protoJets received from neighbour
Definition: L1GctJetFinderBase.h:164
L1GctJetFinderBase::getJetEtCalLuts
const lutPtrVector getJetEtCalLuts() const
Return pointers to calibration LUTs.
Definition: L1GctJetFinderBase.h:180
L1GctJetFinderBase::m_gotNeighbourPointers
bool m_gotNeighbourPointers
Remember whether the neighbour pointers have been stored.
Definition: L1GctJetFinderBase.h:235
L1GctJetFinderBase::m_minColThisJf
unsigned m_minColThisJf
parameter to determine which Regions belong in our acceptance
Definition: L1GctJetFinderBase.h:253
L1GctTwosComplement< L1GctInternEtSum::kJetMissEtNBits >
L1GctJetFinderBase::hfTowerSumsType::hfTowerSumsType
hfTowerSumsType(unsigned e0, unsigned e1, unsigned n0, unsigned n1)
Definition: L1GctJetFinderBase.h:83
L1GctJetFinderBase::getTauIsolationThreshold
unsigned getTauIsolationThreshold() const
Definition: L1GctJetFinderBase.h:209
L1GctJetFinderBase::getKeptProtoJets
RegionsVector getKeptProtoJets() const
get protoJets kept
Definition: L1GctJetFinderBase.h:167
L1GctJetFinderBase::getCenJetSeed
unsigned getCenJetSeed() const
Definition: L1GctJetFinderBase.h:205
L1GctJetFinderBase::m_inputRegions
RegionsVector m_inputRegions
Definition: L1GctJetFinderBase.h:302
L1GctJetFinderBase::m_outputExSum
etCompInternJfType m_outputExSum
Definition: L1GctJetFinderBase.h:317
L1GctJetFinderBase::process
void process() override=0
process the data, fill output buffers; to be filled in by derived jetFinders
L1GctJetFinderParams
Definition: L1GctJetFinderParams.h:10
L1GctJetFinderBase::m_useImprovedTauAlgo
bool m_useImprovedTauAlgo
Setup parameters for the tau jet algorithm.
Definition: L1GctJetFinderBase.h:271
L1GctJetFinderBase::m_idInRange
bool m_idInRange
Remember whether range check on the input ID was ok.
Definition: L1GctJetFinderBase.h:232
L1GctJetFinderBase::setJetFinderParams
void setJetFinderParams(const L1GctJetFinderParams *jfpars)
Set pointer to parameters - needed to complete the setup.
Definition: L1GctJetFinderBase.cc:112
L1GctJetFinderBase::m_sentProtoJets
RegionsVector m_sentProtoJets
List of pre-clustered jets to be sent to neighbour after the first stage of clustering.
Definition: L1GctJetFinderBase.h:305
L1GctJetFinderBase::m_ignoreTauVetoBitsForIsolation
bool m_ignoreTauVetoBitsForIsolation
Definition: L1GctJetFinderBase.h:278
L1GctJetFinderBase::JetVector
std::vector< L1GctJetCand > JetVector
Definition: L1GctJetFinderBase.h:55
L1GctJetFinderBase::doHtSums
void doHtSums()
Calculates scalar and vector sum of Ht over calibrated jets.
Definition: L1GctJetFinderBase.cc:407
L1GctJetFinderBase::m_id
int m_id
algo ID
Definition: L1GctJetFinderBase.h:226
L1GctJetFinderBase::m_outputHxSumPipe
Pipeline< htCompInternJfType > m_outputHxSumPipe
Definition: L1GctJetFinderBase.h:374
L1GctJetFinderBase::getHfSums
hfTowerSumsType getHfSums() const
Get the Hf tower Et sums and tower-over-threshold counts.
Definition: L1GctJetFinderBase.h:200
L1GctJetFinderBase::getEtaBoundry
unsigned getEtaBoundry() const
Definition: L1GctJetFinderBase.h:208
L1GctJetFinderBase::TOPBOT
Definition: L1GctJetFinderBase.h:223
L1GctJetFinderBase::m_HtmSumJetThreshold
unsigned m_HtmSumJetThreshold
Definition: L1GctJetFinderBase.h:286
L1GctJetFinderBase::getSentProtoJets
RegionsVector getSentProtoJets() const
get protoJets sent to neighbour
Definition: L1GctJetFinderBase.h:161
L1GctInternEtSum.h
L1GctJetFinderBase::TOP
Definition: L1GctJetFinderBase.h:223
StorageManager_cfg.e1
e1
Definition: StorageManager_cfg.py:16
L1GctJetFinderBase::~L1GctJetFinderBase
~L1GctJetFinderBase() override
Definition: L1GctJetFinderBase.cc:77
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88267
L1GctJetFinderBase::getTauJetSeed
unsigned getTauJetSeed() const
Definition: L1GctJetFinderBase.h:207
L1GctJetFinderBase::resetProcessor
void resetProcessor() override
Separate reset methods for the processor itself and any data stored in pipelines.
Definition: L1GctJetFinderBase.cc:179
L1GctJetFinderBase::setupOk
bool setupOk() const
Check setup is Ok.
Definition: L1GctJetFinderBase.h:141
L1GctJet.h
L1GctJetFinderBase::ULong
unsigned long int ULong
Definition: L1GctJetFinderBase.h:51
L1GctJetFinderBase::lutPtr
L1GctJet::lutPtr lutPtr
Definition: L1GctJetFinderBase.h:107
L1GctJetFinderBase::hfTowerSumsType::reset
void reset()
Definition: L1GctJetFinderBase.h:91
L1GctUnsignedInt< L1GctInternEtSum::kTotEtOrHtNBits >
L1GctJetFinderBase::getHtSum
etHadType getHtSum() const
Get the scalar sum of Ht summed over jets above threshold.
Definition: L1GctJetFinderBase.h:192
L1GctJetFinderBase::m_HtmMask
bool m_HtmMask[11]
Definition: L1GctJetFinderBase.h:292
L1GctJetFinderBase::m_gotJetFinderParams
bool m_gotJetFinderParams
Remember whether jetfinder parameters have been stored.
Definition: L1GctJetFinderBase.h:238
L1GctJetFinderBase::L1GctJetFinderBase
L1GctJetFinderBase(int id)
id is 0-8 for -ve Eta jetfinders, 9-17 for +ve Eta, for increasing Phi.
Definition: L1GctJetFinderBase.cc:23
L1GctJetFinderBase::getInternalHtMiss
std::vector< L1GctInternHtMiss > getInternalHtMiss() const
Definition: L1GctJetFinderBase.cc:299
L1GctJetFinderBase::getInputRegions
RegionsVector getInputRegions() const
Return input data.
Definition: L1GctJetFinderBase.h:158
L1GctJetFinderBase::getHtmSumJetThreshold
unsigned getHtmSumJetThreshold() const
Definition: L1GctJetFinderBase.h:211
L1GctJetFinderBase::getEtSum
etTotalType getEtSum() const
Get the scalar sum of Et summed over the input regions.
Definition: L1GctJetFinderBase.h:185
L1GctUnsignedInt::reset
void reset()
reset value and overflow to zero
Definition: L1GctUnsignedInt.h:41
L1GctJetFinderBase::hfTowerSumsType::numberOfBits
numberOfBits
Definition: L1GctJetFinderBase.h:74
L1GctJetFinderBase::m_outputHxSum
htCompInternJfType m_outputHxSum
Definition: L1GctJetFinderBase.h:320
L1GctJetFinderBase::m_outputHySumPipe
Pipeline< htCompInternJfType > m_outputHySumPipe
Definition: L1GctJetFinderBase.h:375
L1GctJetFinderBase::m_sortedJets
JetVector m_sortedJets
Definition: L1GctJetFinderBase.h:313
L1GctJetCount.h
L1GctJetFinderBase::m_outputEtSumPipe
Pipeline< etTotalType > m_outputEtSumPipe
"Pipeline memories" for energy sums
Definition: L1GctJetFinderBase.h:370
L1GctJetFinderBase::fetchInput
void fetchInput() override=0
get input data from sources; to be filled in by derived jetFinders
L1GctJetFinderBase::m_CenJetSeed
unsigned m_CenJetSeed
Definition: L1GctJetFinderBase.h:260
L1GctJetFinderBase::etTotalType
L1GctUnsignedInt< L1GctInternEtSum::kTotEtOrHtNBits > etTotalType
Definition: L1GctJetFinderBase.h:57
L1GctJetFinderBase::m_outputHtSum
etHadType m_outputHtSum
Definition: L1GctJetFinderBase.h:319
L1GctJetFinderBase::doEnergySums
void doEnergySums()
Fill the Et strip sums and Ht sum. All jetFinders should call this in process().
Definition: L1GctJetFinderBase.cc:354
L1GctJetFinderBase::hfTowerSumsType
Definition: L1GctJetFinderBase.h:73
L1GctJetFinderBase::getHttSumJetThreshold
unsigned getHttSumJetThreshold() const
Definition: L1GctJetFinderBase.h:210
L1GctJetFinderBase::fetchType
fetchType
different ways of getting the neighbour data
Definition: L1GctJetFinderBase.h:223
L1GctJetFinderBase::N_JF_PER_WHEEL
static const unsigned int N_JF_PER_WHEEL
No of jetFinders per Wheel.
Definition: L1GctJetFinderBase.h:113
L1GctJetFinderBase::m_outputEySum
etCompInternJfType m_outputEySum
Definition: L1GctJetFinderBase.h:318
L1GctJetFinderBase::getExSum
etCompInternJfType getExSum() const
Get the x component of vector Et summed over the input regions.
Definition: L1GctJetFinderBase.h:186
L1GctJetFinderBase::getRawJets
RawJetVector getRawJets() const
get output jets in raw format
Definition: L1GctJetFinderBase.h:170
L1GctJetFinderBase::hfTowerSumsType::etSum0
L1GctJetCount< kHfEtSumBits > etSum0
Definition: L1GctJetFinderBase.h:76
L1GctJetFinderBase::nCols
virtual unsigned nCols() const
Definition: L1GctJetFinderBase.h:335
L1GctProcessor.h
L1GctChannelMask
Definition: L1GctChannelMask.h:8
L1GctProcessor
ABC for a GCT trigger data processing unit.
Definition: L1GctProcessor.h:22
L1GctProcessor::Pipeline
Definition: L1GctProcessor.h:84
L1GctJetFinderBase::m_HttMask
bool m_HttMask[11]
Definition: L1GctJetFinderBase.h:291
L1GctJetFinderBase::m_HttSumJetThreshold
unsigned m_HttSumJetThreshold
Definition: L1GctJetFinderBase.h:285
L1GctJetFinderBase::m_tauIsolationThreshold
unsigned m_tauIsolationThreshold
Definition: L1GctJetFinderBase.h:282
L1GctJetFinderBase::getEySum
etCompInternJfType getEySum() const
Get the y component of vector Et summed over the input regions.
Definition: L1GctJetFinderBase.h:189
L1GctJetFinderBase::calcEtStrip
etTotalType calcEtStrip(const UShort strip) const
Calculates total (raw) energy in a phi strip.
L1GctJetCount< kHfEtSumBits >
L1GctJetFinderBase::centralCol0
virtual unsigned centralCol0() const
Definition: L1GctJetFinderBase.h:334
L1GctJetFinderBase::m_outputEtSum
etTotalType m_outputEtSum
output Et strip sums and Ht - refactored
Definition: L1GctJetFinderBase.h:316
L1GctJetFinderBase::m_FwdJetSeed
unsigned m_FwdJetSeed
Definition: L1GctJetFinderBase.h:261
L1GctJetFinderBase::sortJets
void sortJets()
Sort the found jets. All jetFinders should call this in process().
Definition: L1GctJetFinderBase.cc:339
L1GctInternHtMiss.h
L1GctInternJetData
L1 GCT internal jet candidate.
Definition: L1GctInternJetData.h:14
L1GctJetFinderBase::BOT
Definition: L1GctJetFinderBase.h:223