L1Trigger
CSCTriggerPrimitives
interface
CSCUpgradeCathodeLCTProcessor.h
Go to the documentation of this file.
1
#ifndef L1Trigger_CSCTriggerPrimitives_CSCUpgradeCathodeLCTProcessor_h
2
#define L1Trigger_CSCTriggerPrimitives_CSCUpgradeCathodeLCTProcessor_h
3
20
#include "
L1Trigger/CSCTriggerPrimitives/interface/CSCCathodeLCTProcessor.h
"
21
22
#include <vector>
23
24
class
CSCUpgradeCathodeLCTProcessor
:
public
CSCCathodeLCTProcessor
{
25
public
:
27
CSCUpgradeCathodeLCTProcessor
(
unsigned
endcap
,
28
unsigned
station
,
29
unsigned
sector,
30
unsigned
subsector,
31
unsigned
chamber
,
32
const
edm::ParameterSet
& conf);
33
34
private
:
35
/* Phase2 version. Check all half-strip pattern envelopes simultaneously,
36
on every clock cycle, for a matching pattern */
37
bool
preTrigger
(
const
int
start_bx,
int
& first_bx)
override
;
38
39
/* Phase-2 version of the CLCT finder function */
40
std::vector<CSCCLCTDigi>
findLCTs
(
41
const
std::vector<int> halfstrip[
CSCConstants::NUM_LAYERS
][
CSCConstants::MAX_NUM_HALF_STRIPS_RUN2_TRIGGER
])
42
override
;
43
44
// mark half-strip zones around pretriggers that happened at the current first_bx
45
void
markPreTriggerZone
(
bool
pretrig_zone[
CSCConstants::MAX_NUM_HALF_STRIPS_RUN2_TRIGGER
])
const
;
46
47
// update the deadzone after finding a pretrigger
48
void
markBusyZone
(
const
int
bx
);
49
50
/* is a given half-strip in a pretrigger dead zone */
51
bool
busyMap_
[
CSCConstants::MAX_NUM_HALF_STRIPS_RUN2_TRIGGER
][
CSCConstants::MAX_CLCT_TBINS
];
52
54
bool
use_dead_time_zoning_
;
55
56
/* +/- half-strips around a keystrip that are dead
57
for a few BX after a CLCT was found*/
58
unsigned
int
clct_state_machine_zone_
;
59
61
unsigned
int
pretrig_trig_zone_
;
62
};
63
64
#endif
CSCUpgradeCathodeLCTProcessor::preTrigger
bool preTrigger(const int start_bx, int &first_bx) override
Definition:
CSCUpgradeCathodeLCTProcessor.cc:29
CSCUpgradeCathodeLCTProcessor::pretrig_trig_zone_
unsigned int pretrig_trig_zone_
Definition:
CSCUpgradeCathodeLCTProcessor.h:61
CSCCathodeLCTProcessor
Definition:
CSCCathodeLCTProcessor.h:44
relativeConstraints.station
station
Definition:
relativeConstraints.py:67
l1GtPatternGenerator_cfi.bx
bx
Definition:
l1GtPatternGenerator_cfi.py:18
CSCUpgradeCathodeLCTProcessor::findLCTs
std::vector< CSCCLCTDigi > findLCTs(const std::vector< int > halfstrip[CSCConstants::NUM_LAYERS][CSCConstants::MAX_NUM_HALF_STRIPS_RUN2_TRIGGER]) override
Definition:
CSCUpgradeCathodeLCTProcessor.cc:106
makeMuonMisalignmentScenario.endcap
endcap
Definition:
makeMuonMisalignmentScenario.py:320
CSCUpgradeCathodeLCTProcessor::CSCUpgradeCathodeLCTProcessor
CSCUpgradeCathodeLCTProcessor(unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf)
Definition:
CSCUpgradeCathodeLCTProcessor.cc:5
CSCConstants::NUM_LAYERS
Definition:
CSCConstants.h:103
CSCUpgradeCathodeLCTProcessor::markPreTriggerZone
void markPreTriggerZone(bool pretrig_zone[CSCConstants::MAX_NUM_HALF_STRIPS_RUN2_TRIGGER]) const
Definition:
CSCUpgradeCathodeLCTProcessor.cc:271
CSCCathodeLCTProcessor.h
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCUpgradeCathodeLCTProcessor::use_dead_time_zoning_
bool use_dead_time_zoning_
Definition:
CSCUpgradeCathodeLCTProcessor.h:54
CSCUpgradeCathodeLCTProcessor
Definition:
CSCUpgradeCathodeLCTProcessor.h:24
CSCUpgradeCathodeLCTProcessor::markBusyZone
void markBusyZone(const int bx)
Definition:
CSCUpgradeCathodeLCTProcessor.cc:298
CSCUpgradeCathodeLCTProcessor::clct_state_machine_zone_
unsigned int clct_state_machine_zone_
Definition:
CSCUpgradeCathodeLCTProcessor.h:58
CSCConstants::MAX_CLCT_TBINS
Definition:
CSCConstants.h:126
CSCConstants::MAX_NUM_HALF_STRIPS_RUN2_TRIGGER
Definition:
CSCConstants.h:74
relativeConstraints.chamber
chamber
Definition:
relativeConstraints.py:53
CSCUpgradeCathodeLCTProcessor::busyMap_
bool busyMap_[CSCConstants::MAX_NUM_HALF_STRIPS_RUN2_TRIGGER][CSCConstants::MAX_CLCT_TBINS]
Definition:
CSCUpgradeCathodeLCTProcessor.h:51
Generated for CMSSW Reference Manual by
1.8.16