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
void setAlctNplanesHitAccelPattern(const unsigned int theValue)
void setClctMinSeparation(const unsigned int theValue)
void setTmbMpcBlockMe1a(const unsigned int theValue)
void setAlctNplanesHitAccelPretrig(const unsigned int theValue)
void setClctDriftDelay(const unsigned int theValue)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
CSCDBL1TPParametersConditions(const edm::ParameterSet &)
void setTmbClctTrigEnable(const unsigned int theValue)
void setAlctAccelMode(const unsigned int theValue)
void setClctNplanesHitPattern(const unsigned int theValue)
ReturnType produceCSCDBL1TPParameters(const CSCDBL1TPParametersRcd &)
void setAlctDriftDelay(const unsigned int theValue)
void setAlctNplanesHitPretrig(const unsigned int theValue)
std::unique_ptr< CSCDBL1TPParameters > ReturnType
void setClctPidThreshPretrig(const unsigned int theValue)
void setClctNplanesHitPretrig(const unsigned int theValue)
void setTmbAlctTrigEnable(const unsigned int theValue)
void setTmbMatchTrigWindowSize(const unsigned int theValue)
void setAlctFifoTbins(const unsigned int theValue)
void setTmbMatchTrigEnable(const unsigned int theValue)
void setAlctTrigMode(const unsigned int theValue)
~CSCDBL1TPParametersConditions() override
static CSCDBL1TPParameters * prefillCSCDBL1TPParameters()
void setTmbTmbL1aWindowSize(const unsigned int theValue)
void setAlctL1aWindowWidth(const unsigned int theValue)
void setClctFifoTbins(const unsigned int theValue)
void setAlctFifoPretrig(const unsigned int theValue)
void setAlctNplanesHitPattern(const unsigned int theValue)
void setClctHitPersist(const unsigned int theValue)
void setClctFifoPretrig(const unsigned int theValue)