CMS 3D CMS Logo

CSCL1TPParametersConditions.h
Go to the documentation of this file.
1 #ifndef _CSCL1TPPARAMETERSCONDITIONS_H
2 #define _CSCL1TPPARAMETERSCONDITIONS_H
3 
4 #include <memory>
5 #include <cmath>
15 
19 
21  public:
24 
25 
27 
28  typedef std::unique_ptr<CSCL1TPParameters> ReturnType;
29 
31 
32  private:
33  // ----------member data ---------------------------
36 
37 };
38 
39 #include<fstream>
40 #include<vector>
41 #include<iostream>
42 
43 // to workaround plugin library
45 {
46 
47  CSCL1TPParameters * cnl1tp = new CSCL1TPParameters();
48 
49  cnl1tp->setAlctFifoTbins(16);
50  cnl1tp->setAlctFifoPretrig(10);
51  cnl1tp->setAlctDriftDelay(2);
52  cnl1tp->setAlctNplanesHitPretrig(3);//was 2, new is 3
53  cnl1tp->setAlctNplanesHitPattern(4);
54  cnl1tp->setAlctNplanesHitAccelPretrig(3);//was 2, new is 3
56  cnl1tp->setAlctTrigMode(2);
57  cnl1tp->setAlctAccelMode(0);
58  cnl1tp->setAlctL1aWindowWidth(7);
59 
60  cnl1tp->setClctFifoTbins(12);
61  cnl1tp->setClctFifoPretrig(7);
62  cnl1tp->setClctHitPersist(4);//was 6, new is 4
63  cnl1tp->setClctDriftDelay(2);
64  cnl1tp->setClctNplanesHitPretrig(3);//was 2, new is 3
65  cnl1tp->setClctNplanesHitPattern(4);
66  cnl1tp->setClctPidThreshPretrig(2);
67  cnl1tp->setClctMinSeparation(10);
68 
69  return cnl1tp;
70 }
71 
72 
73 #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)