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
void setAlctFifoTbins(const unsigned int theValue)
void setClctNplanesHitPattern(const unsigned int theValue)
void setClctHitPersist(const unsigned int theValue)
void setAlctL1aWindowWidth(const unsigned int theValue)
std::unique_ptr< CSCL1TPParameters > ReturnType
CSCL1TPParametersConditions(const edm::ParameterSet &)
void setAlctTrigMode(const unsigned int theValue)
void setClctFifoTbins(const unsigned int theValue)
static CSCL1TPParameters * prefillCSCL1TPParameters()
ReturnType produceCSCL1TPParameters(const CSCL1TPParametersRcd &)
void setAlctNplanesHitAccelPretrig(const unsigned int theValue)
void setClctNplanesHitPretrig(const unsigned int theValue)
void setAlctNplanesHitPretrig(const unsigned int theValue)
void setAlctFifoPretrig(const unsigned int theValue)
void setAlctNplanesHitAccelPattern(const unsigned int theValue)
void setClctFifoPretrig(const unsigned int theValue)
void setAlctAccelMode(const unsigned int theValue)
void setClctPidThreshPretrig(const unsigned int theValue)
void setAlctDriftDelay(const unsigned int theValue)
void setAlctNplanesHitPattern(const unsigned int theValue)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
void setClctDriftDelay(const unsigned int theValue)
void setClctMinSeparation(const unsigned int theValue)