Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ class CSCAnodeLCTProcessor : public CSCBaseboard {
unsigned chamber,
const edm::ParameterSet& conf);

/** Default constructor. Used for testing. */
CSCAnodeLCTProcessor();

/** Default destructor. */
~CSCAnodeLCTProcessor() override = default;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ class CSCCathodeLCTProcessor : public CSCBaseboard {
unsigned chamber,
const edm::ParameterSet& conf);

/** Default constructor. Used for testing. */
CSCCathodeLCTProcessor();

/** Default destructor. */
~CSCCathodeLCTProcessor() override = default;

Expand Down
3 changes: 0 additions & 3 deletions L1Trigger/CSCTriggerPrimitives/interface/CSCGEMMotherboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ class CSCGEMMotherboard : public CSCUpgradeMotherboard {
unsigned chamber,
const edm::ParameterSet& conf);

//Default constructor for testing
CSCGEMMotherboard();

~CSCGEMMotherboard() override;

// clear stored pads and copads
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ class CSCGEMMotherboardME11 : public CSCGEMMotherboard {
unsigned chamber,
const edm::ParameterSet& conf);

/** Constructor for use during testing. */
CSCGEMMotherboardME11();

/** Default destructor. */
~CSCGEMMotherboardME11() override;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ class CSCGEMMotherboardME21 : public CSCGEMMotherboard {
unsigned chamber,
const edm::ParameterSet& conf);

/** Test destructor. */
CSCGEMMotherboardME21();

/** Default destructor. */
~CSCGEMMotherboardME21() override;

Expand Down
7 changes: 0 additions & 7 deletions L1Trigger/CSCTriggerPrimitives/interface/CSCMotherboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ class CSCMotherboard : public CSCBaseboard {
unsigned chamber,
const edm::ParameterSet& conf);

/** Constructor for use during testing. */
CSCMotherboard();

/** Default destructor. */
~CSCMotherboard() override = default;

Expand Down Expand Up @@ -116,10 +113,6 @@ class CSCMotherboard : public CSCBaseboard {
/** Phase2: whether to readout only the earliest two LCTs in readout window */
bool readout_earliest_2;

/** if true: use regular CLCT-to-ALCT matching in TMB
if false: do ALCT-to-CLCT matching */
bool clct_to_alct;

// encode special bits for high-multiplicity triggers
unsigned showerSource_;

Expand Down
3 changes: 0 additions & 3 deletions L1Trigger/CSCTriggerPrimitives/interface/CSCMotherboardME11.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ class CSCMotherboardME11 : public CSCUpgradeMotherboard {
unsigned chamber,
const edm::ParameterSet& conf);

/** Constructor for use during testing. */
CSCMotherboardME11();

/** Default destructor. */
~CSCMotherboardME11() override;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ class CSCUpgradeMotherboard : public CSCMotherboard {
unsigned chamber,
const edm::ParameterSet& conf);

//Default constructor for testing
CSCUpgradeMotherboard();

~CSCUpgradeMotherboard() override;

// Empty the LCT container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Default parameters for CSCTriggerPrimitives analyzer
# =====================================================
lctreader = cms.EDAnalyzer("CSCTriggerPrimitivesReader",
cscTriggerPrimitivesReader = cms.EDAnalyzer("CSCTriggerPrimitivesReader",
# Parameters common for all boards
commonParam = cscTriggerPrimitiveDigis.commonParam,
# Switch on/off the verbosity and turn on/off histogram production
Expand Down
7 changes: 0 additions & 7 deletions L1Trigger/CSCTriggerPrimitives/python/params/tmbParams.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@
# to ALCTs in this BX, and not use them in the following BX
tmbDropUsedClcts = cms.bool(False),

# Switch to enable
# True = CLCT-centric matching (default non-upgrade behavior,
# take CLCTs in BX look for matching ALCTs in window)
# False = ALCT-centric matching (recommended for Phase-2,
# take ALCTs in BX look for matching CLCTs in window)
clctToAlct = cms.bool(False),

## bits for high-multiplicity triggers
useHighMultiplicityBits = cms.bool(False),
)
Expand Down
24 changes: 0 additions & 24 deletions L1Trigger/CSCTriggerPrimitives/src/CSCAnodeLCTProcessor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,30 +90,6 @@ CSCAnodeLCTProcessor::CSCAnodeLCTProcessor(unsigned endcap,
showerMaxOutTBin_ = shower.getParameter<unsigned>("showerMaxOutTBin");
}

CSCAnodeLCTProcessor::CSCAnodeLCTProcessor() : CSCBaseboard() {
// Used for debugging. -JM
static std::atomic<bool> config_dumped{false};

// ALCT parameters.
setDefaultConfigParameters();
infoV = 2;

early_tbins = 4;

// Check and print configuration parameters.
checkConfigParameters();
if (!config_dumped) {
dumpConfigParams();
config_dumped = true;
}

numWireGroups = CSCConstants::MAX_NUM_WIRES;
MESelection = (theStation < 3) ? 0 : 1;

// Load pattern mask.
loadPatternMask();
}

void CSCAnodeLCTProcessor::loadPatternMask() {
// Load appropriate pattern mask.
if (narrow_mask_r1 && (theRing == 1 || theRing == 4)) {
Expand Down
31 changes: 0 additions & 31 deletions L1Trigger/CSCTriggerPrimitives/src/CSCCathodeLCTProcessor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,37 +111,6 @@ CSCCathodeLCTProcessor::CSCCathodeLCTProcessor(unsigned endcap,
qualityControl_ = std::make_unique<LCTQualityControl>(endcap, station, sector, subsector, chamber, conf);
}

CSCCathodeLCTProcessor::CSCCathodeLCTProcessor() : CSCBaseboard() {
// constructor for debugging.
static std::atomic<bool> config_dumped{false};

// CLCT configuration parameters.
setDefaultConfigParameters();
infoV = 2;

early_tbins = 4;

start_bx_shift = 0;

// Check and print configuration parameters.
checkConfigParameters();
if (!config_dumped) {
dumpConfigParams();
config_dumped = true;
}

numStrips_ = CSCConstants::MAX_NUM_STRIPS;
// Should be OK for all stations except ME1.
for (int i_layer = 0; i_layer < CSCConstants::NUM_LAYERS; i_layer++) {
if ((i_layer + 1) % 2 == 0)
stagger[i_layer] = 0;
else
stagger[i_layer] = 1;
}

thePreTriggerDigis.clear();
}

void CSCCathodeLCTProcessor::setDefaultConfigParameters() {
// Set default values for configuration parameters.
fifo_tbins = def_fifo_tbins;
Expand Down
2 changes: 0 additions & 2 deletions L1Trigger/CSCTriggerPrimitives/src/CSCGEMMotherboard.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ CSCGEMMotherboard::CSCGEMMotherboard(unsigned endcap,
: tmbParams_.getParameter<int>("maxDeltaPadL2Odd"));
}

CSCGEMMotherboard::CSCGEMMotherboard() : CSCUpgradeMotherboard() {}

CSCGEMMotherboard::~CSCGEMMotherboard() {}

void CSCGEMMotherboard::clear() {
Expand Down
11 changes: 0 additions & 11 deletions L1Trigger/CSCTriggerPrimitives/src/CSCGEMMotherboardME11.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@ CSCGEMMotherboardME11::CSCGEMMotherboardME11(unsigned endcap,
cscTmbLUT_ = std::make_unique<CSCMotherboardLUTME11>();
}

CSCGEMMotherboardME11::CSCGEMMotherboardME11() : CSCGEMMotherboard() {
// Constructor used only for testing.
if (!runPhase2_) {
edm::LogError("CSCGEMMotherboardME11|SetupError") << "+++ TMB constructed while runPhase2 is not set! +++\n";
}

if (!runME11ILT_) {
edm::LogError("CSCGEMMotherboardME11|SetupError") << "+++ TMB constructed while runME11ILT_ is not set! +++\n";
}
}

CSCGEMMotherboardME11::~CSCGEMMotherboardME11() {}

//===============================================
Expand Down
10 changes: 0 additions & 10 deletions L1Trigger/CSCTriggerPrimitives/src/CSCGEMMotherboardME21.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ CSCGEMMotherboardME21::CSCGEMMotherboardME21(unsigned endcap,
tmbLUT_ = std::make_unique<CSCGEMMotherboardLUTME21>();
}

CSCGEMMotherboardME21::CSCGEMMotherboardME21() : CSCGEMMotherboard() {
if (!runPhase2_) {
edm::LogError("CSCGEMMotherboardME21|SetupError") << "+++ TMB constructed while runPhase2 is not set! +++\n";
}

if (!runME21ILT_) {
edm::LogError("CSCGEMMotherboardME21|SetupError") << "+++ TMB constructed while runME21ILT_ is not set! +++\n";
}
}

CSCGEMMotherboardME21::~CSCGEMMotherboardME21() {}

void CSCGEMMotherboardME21::run(const CSCWireDigiCollection* wiredc,
Expand Down
Loading