|
|
#include <EcalSignalGenerator.h>
|
typedef std::unordered_map< uint32_t, double > | CalibCache |
|
typedef ECALDIGITIZERTRAITS::DigiCollection | COLLECTION |
|
typedef ECALDIGITIZERTRAITS::Digi | DIGI |
|
|
| EcalSignalGenerator () |
|
| EcalSignalGenerator (const edm::InputTag &inputTag, const edm::EDGetTokenT< COLLECTION > &t, const double EBs25notCont, const double EEs25notCont, const double peToABarrel, const double peToAEndcap, const bool timeDependent=false) |
|
virtual void | fill (edm::ModuleCallingContext const *mcc) |
|
void | initializeEvent (const edm::Event *event, const edm::EventSetup *eventSetup) |
|
void | initializeEvent (const edm::EventPrincipal *eventPrincipal, const edm::EventSetup *eventSetup) |
| some users use EventPrincipals, not Events. We support both More...
|
|
| ~EcalSignalGenerator () override |
|
| EcalBaseSignalGenerator () |
|
| ~EcalBaseSignalGenerator () override |
|
| CaloVNoiseSignalGenerator () |
|
bool | contains (const DetId &detId) const |
|
void | fillEvent () |
|
void | fillEvent (CLHEP::HepRandomEngine *) |
| fill theNoiseSignals with one event's worth of noise, in units of pe More...
|
|
void | getNoiseSignals (std::vector< CaloSamples > &noiseSignals) |
|
void | setNoiseSignals (const std::vector< CaloSamples > &noiseSignals) |
|
virtual | ~CaloVNoiseSignalGenerator () |
|
template<class ECALDIGITIZERTRAITS>
class EcalSignalGenerator< ECALDIGITIZERTRAITS >
Definition at line 55 of file EcalSignalGenerator.h.
◆ CalibCache
template<class ECALDIGITIZERTRAITS>
◆ COLLECTION
template<class ECALDIGITIZERTRAITS>
◆ DIGI
template<class ECALDIGITIZERTRAITS>
◆ anonymous enum
template<class ECALDIGITIZERTRAITS>
◆ EcalSignalGenerator() [1/2]
template<class ECALDIGITIZERTRAITS>
◆ EcalSignalGenerator() [2/2]
template<class ECALDIGITIZERTRAITS>
◆ ~EcalSignalGenerator()
template<class ECALDIGITIZERTRAITS>
◆ fill()
template<class ECALDIGITIZERTRAITS>
Definition at line 208 of file EcalSignalGenerator.h.
220 std::shared_ptr<edm::Wrapper<COLLECTION>
const> digisPTR =
223 digis = digisPTR->product();
226 throw cms::Exception(
"EcalSignalGenerator") <<
"No Event or EventPrincipal was set";
231 for (
typename COLLECTION::const_iterator it = digis->begin(); it != digis->end(); ++it) {
Referenced by PreMixingEcalWorker::addPileups().
◆ fillNoiseSignals() [1/2]
template<class ECALDIGITIZERTRAITS>
|
inlineoverrideprivatevirtual |
◆ fillNoiseSignals() [2/2]
template<class ECALDIGITIZERTRAITS>
|
inlineoverrideprivatevirtual |
◆ findLaserConstant_LC()
template<class ECALDIGITIZERTRAITS>
◆ findLaserConstant_LC_prime()
template<class ECALDIGITIZERTRAITS>
◆ fullScaleEnergy()
template<class ECALDIGITIZERTRAITS>
◆ GetGainRatios()
template<class ECALDIGITIZERTRAITS>
◆ initializeEvent() [1/2]
template<class ECALDIGITIZERTRAITS>
◆ initializeEvent() [2/2]
template<class ECALDIGITIZERTRAITS>
some users use EventPrincipals, not Events. We support both
Definition at line 149 of file EcalSignalGenerator.h.
175 edm::LogError(
"EcalSignalGenerator") <<
" theEventPrincipal not defined??? " << std::endl;
◆ peToAConversion()
template<class ECALDIGITIZERTRAITS>
◆ samplesInPE()
template<class ECALDIGITIZERTRAITS>
◆ validDigi()
template<class ECALDIGITIZERTRAITS>
◆ agc
template<class ECALDIGITIZERTRAITS>
◆ esgain
template<class ECALDIGITIZERTRAITS>
◆ ESgain
template<class ECALDIGITIZERTRAITS>
◆ esmips
template<class ECALDIGITIZERTRAITS>
◆ esMipToGeV
template<class ECALDIGITIZERTRAITS>
◆ ESMIPToGeV
template<class ECALDIGITIZERTRAITS>
◆ grHandle
template<class ECALDIGITIZERTRAITS>
◆ hesgain
template<class ECALDIGITIZERTRAITS>
◆ hesMIPs
template<class ECALDIGITIZERTRAITS>
◆ hesMIPToGeV
template<class ECALDIGITIZERTRAITS>
◆ ical
template<class ECALDIGITIZERTRAITS>
◆ m_EBs25notCont
template<class ECALDIGITIZERTRAITS>
◆ m_EEs25notCont
template<class ECALDIGITIZERTRAITS>
◆ m_iTime
template<class ECALDIGITIZERTRAITS>
◆ m_lasercals
template<class ECALDIGITIZERTRAITS>
◆ m_lasercals_prime
template<class ECALDIGITIZERTRAITS>
◆ m_maxEneEB
template<class ECALDIGITIZERTRAITS>
◆ m_maxEneEE
template<class ECALDIGITIZERTRAITS>
◆ m_peToABarrel
template<class ECALDIGITIZERTRAITS>
◆ m_peToAEndcap
template<class ECALDIGITIZERTRAITS>
◆ m_timeDependent
template<class ECALDIGITIZERTRAITS>
◆ m_valueLCCache_LC
template<class ECALDIGITIZERTRAITS>
◆ m_valueLCCache_LC_prime
template<class ECALDIGITIZERTRAITS>
◆ pAgc
template<class ECALDIGITIZERTRAITS>
◆ pIcal
template<class ECALDIGITIZERTRAITS>
◆ theDefaultGains
template<class ECALDIGITIZERTRAITS>
◆ theEvent
template<class ECALDIGITIZERTRAITS>
◆ theEventPrincipal
template<class ECALDIGITIZERTRAITS>
◆ theInputTag
template<class ECALDIGITIZERTRAITS>
◆ tok_
template<class ECALDIGITIZERTRAITS>
T const * product() const
edm::InputTag theInputTag
these come from the ParameterSet
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
T const * product() const
edm::ESHandle< EcalIntercalibConstantsMC > pIcal
edm::ESHandle< EcalGainRatios > grHandle
CaloSamples samplesInPE(const DIGI &digi)
const ESIntercalibConstants * esmips
TimeValue_t value() const
float getESValueHigh() const
const EcalADCToGeVConstant * agc
const EcalLaserDbService * m_lasercals_prime
double theDefaultGains[NGAINS]
Timestamp const & beginTime() const
std::vector< CaloSamples > theNoiseSignals
bool getByToken(EDGetToken token, Handle< PROD > &result) const
float gain12Over6() const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
const ESMIPToGeVConstant * esMipToGeV
std::unordered_map< uint32_t, double > CalibCache
const EcalLaserDbService * m_lasercals
EcalBaseSignalGenerator()
CalibCache m_valueLCCache_LC_prime
edm::ESHandle< EcalADCToGeVConstant > pAgc
Timestamp const & beginTime() const
CalibCache m_valueLCCache_LC
const edm::Event * theEvent
these fields are set in initializeEvent()
ECALDIGITIZERTRAITS::DigiCollection COLLECTION
float getLaserCorrection(DetId const &xid, edm::Timestamp const &iTime) const
float getESValueLow() const
RunAuxiliary const & runAuxiliary() const override
edm::EDGetTokenT< COLLECTION > tok_
bool validDigi(const DIGI &digi)
const edm::EventPrincipal * theEventPrincipal
edm::ESHandle< ESIntercalibConstants > hesMIPs
edm::ESHandle< ESGain > hesgain
RunPrincipal const & runPrincipal() const
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of "!*" before the partial wildcard feature was incorporated). The per-event "cost" of each negative criterion with multiple relevant triggers is about the same as ! *was in the past
const EcalIntercalibConstantsMC * ical
edm::ESHandle< ESMIPToGeVConstant > hesMIPToGeV
unsigned long long TimeValue_t
Run const & getRun() const