calculate the best DAC value to obtain a pedestal = 200 More...
#include <testChannel.h>
Private Member Functions | |
int | getHeaderSMId (const int headerId) |
Private Attributes | |
int | m_bestPed |
int | m_DACmax |
int | m_DACmin |
name of the xml file to be saved More... | |
std::string | m_digiCollection |
std::string | m_digiProducer |
secondary name given to collection of digis More... | |
std::string | m_headerProducer |
name of module/plugin/producer making digis More... | |
TH2F | m_pedVSDAC |
double | m_RMSmax |
TH2F | m_singlePedVSDAC_1 |
TH2F | m_singlePedVSDAC_2 |
TH2F | m_singlePedVSDAC_3 |
std::string | m_xmlFile |
name of module/plugin/producer making headers More... | |
int | m_xtal |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
calculate the best DAC value to obtain a pedestal = 200
Definition at line 36 of file testChannel.h.
testChannel::testChannel | ( | const edm::ParameterSet & | ps | ) |
|
override |
|
overridevirtual |
! Analyze
perform te analysis
loop over the headers
Implements edm::EDAnalyzer.
Definition at line 64 of file testChannel.cc.
References EcalMGPASample::adc(), edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), ecalMGPA::gainId(), EcalMGPASample::gainId(), getHeaderSMId(), ecalpyutils::ism(), edm::HandleBase::isValid(), LogDebug, m_digiCollection, m_digiProducer, m_headerProducer, m_pedVSDAC, m_singlePedVSDAC_1, m_singlePedVSDAC_2, m_singlePedVSDAC_3, m_xtal, EcalDataFrame::MAXSAMPLES, EcalDCCHeaderBlock::EcalDCCEventSettings::ped_offset, and EcalDataFrame::sample().
|
overridevirtual |
BeginJob.
begin the job
Reimplemented from edm::EDAnalyzer.
Definition at line 61 of file testChannel.cc.
References LogDebug.
|
overridevirtual |
EndJob.
perform the minimiation and write results
Reimplemented from edm::EDAnalyzer.
Definition at line 121 of file testChannel.cc.
References m_pedVSDAC, m_singlePedVSDAC_1, m_singlePedVSDAC_2, m_singlePedVSDAC_3, m_xtal, and MillePedeFileConverter_cfg::out.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
void testChannel::subscribe | ( | void | ) |
void testChannel::subscribeNew | ( | void | ) |
Definition at line 153 of file testChannel.cc.
void testChannel::unsubscribe | ( | void | ) |
Definition at line 155 of file testChannel.cc.
|
private |
Definition at line 70 of file testChannel.h.
Referenced by testChannel().
|
private |
Definition at line 68 of file testChannel.h.
Referenced by testChannel().
|
private |
name of the xml file to be saved
Definition at line 67 of file testChannel.h.
Referenced by testChannel().
|
private |
Definition at line 61 of file testChannel.h.
Referenced by analyze().
|
private |
secondary name given to collection of digis
Definition at line 62 of file testChannel.h.
Referenced by analyze().
|
private |
name of module/plugin/producer making digis
Definition at line 63 of file testChannel.h.
Referenced by analyze().
|
private |
Definition at line 74 of file testChannel.h.
|
private |
Definition at line 69 of file testChannel.h.
Referenced by testChannel().
|
private |
Definition at line 75 of file testChannel.h.
|
private |
Definition at line 76 of file testChannel.h.
|
private |
Definition at line 77 of file testChannel.h.
|
private |
name of module/plugin/producer making headers
Definition at line 65 of file testChannel.h.
|
private |
Definition at line 72 of file testChannel.h.