CMS 3D CMS Logo

CSCDBL1TPParametersConditions.h
Go to the documentation of this file.
1 #ifndef _CSCDBL1TPPARAMETERSCONDITIONS_H
2 #define _CSCDBL1TPPARAMETERSCONDITIONS_H
3 
13 #include <cmath>
14 #include <memory>
15 
19 
21 public:
24 
26 
27  typedef std::unique_ptr<CSCDBL1TPParameters> ReturnType;
28 
30 
31 private:
32  // ----------member data ---------------------------
34  const edm::IOVSyncValue &,
35  edm::ValidityInterval &) override;
36 };
37 
38 #include <fstream>
39 #include <iostream>
40 #include <vector>
41 
42 // to workaround plugin library
45 
46  cnl1tp->setAlctFifoTbins(16);
47  cnl1tp->setAlctFifoPretrig(10);
48  cnl1tp->setAlctDriftDelay(2);
49  cnl1tp->setAlctNplanesHitPretrig(3); // was 2, new is 3
50  cnl1tp->setAlctNplanesHitPattern(4);
51  cnl1tp->setAlctNplanesHitAccelPretrig(3); // was 2, new is 3
53  cnl1tp->setAlctTrigMode(2);
54  cnl1tp->setAlctAccelMode(0);
55  cnl1tp->setAlctL1aWindowWidth(7);
56 
57  cnl1tp->setClctFifoTbins(12);
58  cnl1tp->setClctFifoPretrig(7);
59  cnl1tp->setClctHitPersist(4); // was 6, new is 4
60  cnl1tp->setClctDriftDelay(2);
61  cnl1tp->setClctNplanesHitPretrig(3); // was 2, new is 3
62  cnl1tp->setClctNplanesHitPattern(4);
63  cnl1tp->setClctPidThreshPretrig(2);
64  cnl1tp->setClctMinSeparation(10);
65 
66  // the new parameters
67  cnl1tp->setTmbMpcBlockMe1a(0);
68  cnl1tp->setTmbAlctTrigEnable(0);
69  cnl1tp->setTmbClctTrigEnable(0);
70  cnl1tp->setTmbMatchTrigEnable(1);
71  cnl1tp->setTmbMatchTrigWindowSize(7);
72  cnl1tp->setTmbTmbL1aWindowSize(7);
73 
74  return cnl1tp;
75 }
76 
77 #endif
CSCDBL1TPParameters
Definition: CSCDBL1TPParameters.h:14
CSCDBL1TPParameters::setAlctNplanesHitPattern
void setAlctNplanesHitPattern(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:104
CSCDBL1TPParametersConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
ESHandle.h
CSCDBL1TPParameters::setAlctL1aWindowWidth
void setAlctL1aWindowWidth(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:119
edm::ValidityInterval
Definition: ValidityInterval.h:28
ESProducer.h
CSCDBL1TPParameters::setAlctNplanesHitAccelPretrig
void setAlctNplanesHitAccelPretrig(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:107
CSCDBL1TPParametersConditions::CSCDBL1TPParametersConditions
CSCDBL1TPParametersConditions(const edm::ParameterSet &)
edm::EventSetupRecordIntervalFinder
Definition: EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
CSCDetId.h
CSCDBL1TPParameters.h
CSCDBL1TPParameters::setAlctDriftDelay
void setAlctDriftDelay(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:98
CSCDBL1TPParametersConditions::produceCSCDBL1TPParameters
ReturnType produceCSCDBL1TPParameters(const CSCDBL1TPParametersRcd &)
MakerMacros.h
CSCDBL1TPParameters::setAlctNplanesHitAccelPattern
void setAlctNplanesHitAccelPattern(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:110
CSCDBL1TPParameters::setClctDriftDelay
void setClctDriftDelay(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:131
CSCDBL1TPParameters::setAlctAccelMode
void setAlctAccelMode(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:116
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
SourceFactory.h
CSCDBL1TPParameters::setAlctNplanesHitPretrig
void setAlctNplanesHitPretrig(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:101
edm::ParameterSet
Definition: ParameterSet.h:47
CSCDBL1TPParametersConditions::ReturnType
std::unique_ptr< CSCDBL1TPParameters > ReturnType
Definition: CSCDBL1TPParametersConditions.h:27
Event.h
CSCDBL1TPParametersConditions
Definition: CSCDBL1TPParametersConditions.h:20
CSCDBL1TPParameters::setClctNplanesHitPattern
void setClctNplanesHitPattern(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:137
CSCDBL1TPParameters::setClctFifoPretrig
void setClctFifoPretrig(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:125
CSCDBL1TPParameters::setTmbClctTrigEnable
void setTmbClctTrigEnable(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:152
CSCDBL1TPParameters::setClctNplanesHitPretrig
void setClctNplanesHitPretrig(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:134
CSCDBL1TPParametersRcd.h
CSCDBL1TPParametersConditions::prefillCSCDBL1TPParameters
static CSCDBL1TPParameters * prefillCSCDBL1TPParameters()
Definition: CSCDBL1TPParametersConditions.h:43
CSCDBL1TPParameters::setAlctFifoPretrig
void setAlctFifoPretrig(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:95
Frameworkfwd.h
CSCDBL1TPParameters::setClctHitPersist
void setClctHitPersist(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:128
CSCDBL1TPParameters::setTmbTmbL1aWindowSize
void setTmbTmbL1aWindowSize(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:161
EventSetup.h
CSCDBL1TPParameters::setAlctTrigMode
void setAlctTrigMode(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:113
edm::ESProducer
Definition: ESProducer.h:104
CSCDBL1TPParameters::setTmbMpcBlockMe1a
void setTmbMpcBlockMe1a(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:146
ParameterSet.h
CSCDBL1TPParameters::setAlctFifoTbins
void setAlctFifoTbins(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:92
CSCDBL1TPParameters::setClctPidThreshPretrig
void setClctPidThreshPretrig(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:140
CSCDBL1TPParameters::setClctFifoTbins
void setClctFifoTbins(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:122
CSCDBL1TPParameters::setClctMinSeparation
void setClctMinSeparation(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:143
CSCDBL1TPParametersRcd
Definition: CSCDBL1TPParametersRcd.h:43
CSCDBL1TPParameters::setTmbAlctTrigEnable
void setTmbAlctTrigEnable(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:149
CSCDBL1TPParametersConditions::~CSCDBL1TPParametersConditions
~CSCDBL1TPParametersConditions() override
CSCDBL1TPParameters::setTmbMatchTrigWindowSize
void setTmbMatchTrigWindowSize(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:158
CSCDBL1TPParameters::setTmbMatchTrigEnable
void setTmbMatchTrigEnable(const unsigned int theValue)
Definition: CSCDBL1TPParameters.h:155