CMS 3D CMS Logo

CSCL1TPParametersConditions.h
Go to the documentation of this file.
1 #ifndef _CSCL1TPPARAMETERSCONDITIONS_H
2 #define _CSCL1TPPARAMETERSCONDITIONS_H
3 
13 #include <cmath>
14 #include <memory>
15 
19 
21 public:
24 
26 
27  typedef std::unique_ptr<CSCL1TPParameters> ReturnType;
28 
30 
31 private:
32  // ----------member data ---------------------------
34  const edm::IOVSyncValue &,
35  edm::ValidityInterval &) override;
37 };
38 
39 #include <fstream>
40 #include <iostream>
41 #include <vector>
42 
43 // to workaround plugin library
45  CSCL1TPParameters *cnl1tp = new CSCL1TPParameters();
46 
47  cnl1tp->setAlctFifoTbins(16);
48  cnl1tp->setAlctFifoPretrig(10);
49  cnl1tp->setAlctDriftDelay(2);
50  cnl1tp->setAlctNplanesHitPretrig(3); // was 2, new is 3
51  cnl1tp->setAlctNplanesHitPattern(4);
52  cnl1tp->setAlctNplanesHitAccelPretrig(3); // was 2, new is 3
54  cnl1tp->setAlctTrigMode(2);
55  cnl1tp->setAlctAccelMode(0);
56  cnl1tp->setAlctL1aWindowWidth(7);
57 
58  cnl1tp->setClctFifoTbins(12);
59  cnl1tp->setClctFifoPretrig(7);
60  cnl1tp->setClctHitPersist(4); // was 6, new is 4
61  cnl1tp->setClctDriftDelay(2);
62  cnl1tp->setClctNplanesHitPretrig(3); // was 2, new is 3
63  cnl1tp->setClctNplanesHitPattern(4);
64  cnl1tp->setClctPidThreshPretrig(2);
65  cnl1tp->setClctMinSeparation(10);
66 
67  return cnl1tp;
68 }
69 
70 #endif
CSCL1TPParameters::setClctDriftDelay
void setClctDriftDelay(const unsigned int theValue)
Definition: CSCL1TPParameters.h:113
CSCL1TPParameters::setClctNplanesHitPattern
void setClctNplanesHitPattern(const unsigned int theValue)
Definition: CSCL1TPParameters.h:119
CSCL1TPParameters::setClctHitPersist
void setClctHitPersist(const unsigned int theValue)
Definition: CSCL1TPParameters.h:110
CSCL1TPParametersConditions::CSCL1TPParametersConditions
CSCL1TPParametersConditions(const edm::ParameterSet &)
Definition: CSCL1TPParameters.cc:8
ESHandle.h
CSCL1TPParametersConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: CSCL1TPParameters.cc:33
CSCL1TPParameters::setAlctTrigMode
void setAlctTrigMode(const unsigned int theValue)
Definition: CSCL1TPParameters.h:95
edm::ValidityInterval
Definition: ValidityInterval.h:28
ESProducer.h
CSCL1TPParametersRcd.h
CSCL1TPParametersConditions::CSCl1TPParameters
CSCL1TPParameters * CSCl1TPParameters
Definition: CSCL1TPParametersConditions.h:36
edm::EventSetupRecordIntervalFinder
Definition: EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
CSCDetId.h
CSCL1TPParameters::setAlctNplanesHitPretrig
void setAlctNplanesHitPretrig(const unsigned int theValue)
Definition: CSCL1TPParameters.h:83
MakerMacros.h
CSCL1TPParametersConditions::prefillCSCL1TPParameters
static CSCL1TPParameters * prefillCSCL1TPParameters()
Definition: CSCL1TPParametersConditions.h:44
CSCL1TPParametersConditions::produceCSCL1TPParameters
ReturnType produceCSCL1TPParameters(const CSCL1TPParametersRcd &)
Definition: CSCL1TPParameters.cc:27
CSCL1TPParameters::setAlctNplanesHitAccelPattern
void setAlctNplanesHitAccelPattern(const unsigned int theValue)
Definition: CSCL1TPParameters.h:92
CSCL1TPParameters::setAlctFifoPretrig
void setAlctFifoPretrig(const unsigned int theValue)
Definition: CSCL1TPParameters.h:77
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
CSCL1TPParametersConditions
Definition: CSCL1TPParametersConditions.h:20
SourceFactory.h
CSCL1TPParameters::setClctFifoTbins
void setClctFifoTbins(const unsigned int theValue)
Definition: CSCL1TPParameters.h:104
edm::ParameterSet
Definition: ParameterSet.h:47
CSCL1TPParametersRcd
Definition: CSCL1TPParametersRcd.h:43
CSCL1TPParameters::setAlctNplanesHitAccelPretrig
void setAlctNplanesHitAccelPretrig(const unsigned int theValue)
Definition: CSCL1TPParameters.h:89
Event.h
CSCL1TPParameters::setClctNplanesHitPretrig
void setClctNplanesHitPretrig(const unsigned int theValue)
Definition: CSCL1TPParameters.h:116
CSCL1TPParameters::setClctFifoPretrig
void setClctFifoPretrig(const unsigned int theValue)
Definition: CSCL1TPParameters.h:107
CSCL1TPParameters.h
CSCL1TPParameters::setAlctAccelMode
void setAlctAccelMode(const unsigned int theValue)
Definition: CSCL1TPParameters.h:98
CSCL1TPParameters::setAlctNplanesHitPattern
void setAlctNplanesHitPattern(const unsigned int theValue)
Definition: CSCL1TPParameters.h:86
Frameworkfwd.h
CSCL1TPParameters::setAlctDriftDelay
void setAlctDriftDelay(const unsigned int theValue)
Definition: CSCL1TPParameters.h:80
EventSetup.h
CSCL1TPParameters::setClctPidThreshPretrig
void setClctPidThreshPretrig(const unsigned int theValue)
Definition: CSCL1TPParameters.h:122
edm::ESProducer
Definition: ESProducer.h:104
CSCL1TPParametersConditions::ReturnType
std::unique_ptr< CSCL1TPParameters > ReturnType
Definition: CSCL1TPParametersConditions.h:27
ParameterSet.h
CSCL1TPParameters
Definition: CSCL1TPParameters.h:14
CSCL1TPParameters::setClctMinSeparation
void setClctMinSeparation(const unsigned int theValue)
Definition: CSCL1TPParameters.h:125
CSCL1TPParametersConditions::~CSCL1TPParametersConditions
~CSCL1TPParametersConditions() override
Definition: CSCL1TPParameters.cc:17
CSCL1TPParameters::setAlctFifoTbins
void setAlctFifoTbins(const unsigned int theValue)
Definition: CSCL1TPParameters.h:74
CSCL1TPParameters::setAlctL1aWindowWidth
void setAlctL1aWindowWidth(const unsigned int theValue)
Definition: CSCL1TPParameters.h:101