1 #ifndef MU_END_STRIP_ELECTRONICS_SIM_H
2 #define MU_END_STRIP_ELECTRONICS_SIM_H
59 int & minStrip,
int & maxStrip);
63 getKeyStrips(
const std::vector<CSCComparatorDigi> & comparators)
const;
78 int thisStrip,
int otherStrip);
float comparatorReading(const CSCAnalogSignal &signal, float time) const
calculates the comparator reading, including saturation and offsets
double theComparatorTimeOffset
std::list< int > getKeyStripsFromMC() const
get ths strips that have detector hits
void fillMissingLayer(const CSCLayer *layer, const CSCComparatorDigiCollection &comparators, CSCStripDigiCollection &digis)
int theComparatorClockJump
float calculateAmpResponse(float t) const
float theComparatorDeadTime
void getReadoutRange(int inputStrip, int &minStrip, int &maxStrip)
void fillStripDigis(const std::list< int > &keyStrips, CSCStripDigiCollection &digis)
void setStripConditions(CSCStripConditions *cond)
CSCAnalogSignal makeNoiseSignal(int element)
CSCStripConditions * theStripConditions
virtual ~CSCStripElectronicsSim()
std::vector< double > theSCATimingOffsets
void createDigi(int istrip, const CSCAnalogSignal &signal, std::vector< CSCStripDigi > &result)
std::list< int > channelsToRead(const std::list< int > &keyStrips, int window) const
float theComparatorRMSOffset
void runComparator(std::vector< CSCComparatorDigi > &result)
CSCCrosstalkGenerator * theCrosstalkGenerator
void initParameters()
initialization for each layer
void doSaturation(CSCStripDigi &digi)
float theComparatorThreshold
CSCStripElectronicsSim(const edm::ParameterSet &p)
configurable parameters
double theComparatorTimeBinOffset
std::list< int > getKeyStrips(const std::vector< CSCComparatorDigi > &comparators) const
finds the key strips from these comparators
float theComparatorSaturation
void fillDigis(CSCStripDigiCollection &digis, CSCComparatorDigiCollection &comparators)
virtual int readoutElement(int strip) const
double theComparatorSamplingTime
float theAverageTimeOfFlight
CSCStripAmpResponse theAmpResponse