CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
sistrip::FEDEmulatorModule Class Reference
Inheritance diagram for sistrip::FEDEmulatorModule:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 FEDEmulatorModule (const edm::ParameterSet &)
 
 ~FEDEmulatorModule () override
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducer () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void produce (edm::Event &, const edm::EventSetup &) override
 

Private Attributes

std::unique_ptr< SiStripRawProcessingAlgorithmsalgorithms_
 object for zero-suppression More...
 
bool byModule_
 
sistrip::FEDEmulator fedEmulator_
 
edm::InputTag spyReorderedDigisTag_
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > spyReorderedDigisToken_
 
edm::InputTag spyVirginRawDigisTag_
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > spyVirginRawDigisToken_
 
SpyUtilities utility_
 

Static Private Attributes

static const char * messageLabel_ = "SiStripFEDEmulatorModule"
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- 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 = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 

Detailed Description

Definition at line 57 of file SiStripFEDEmulatorModule.cc.

Constructor & Destructor Documentation

◆ FEDEmulatorModule()

sistrip::FEDEmulatorModule::FEDEmulatorModule ( const edm::ParameterSet iConfig)
explicit

Definition at line 94 of file SiStripFEDEmulatorModule.cc.

95  : spyReorderedDigisTag_(iConfig.getParameter<edm::InputTag>("SpyReorderedDigisTag")),
96  spyVirginRawDigisTag_(iConfig.getParameter<edm::InputTag>("SpyVirginRawDigisTag")),
97  byModule_(iConfig.getParameter<bool>("ByModule")),
99  consumesCollector())) {
100  spyReorderedDigisToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(spyReorderedDigisTag_);
101  spyVirginRawDigisToken_ = consumes<edm::DetSetVector<SiStripRawDigi> >(spyVirginRawDigisTag_);
102 
104 
105  if (!byModule_) { //if not by module
106  //the medians will be produced by fed id/channel
107  produces<std::map<uint32_t, std::vector<uint32_t> > >("Medians");
108  produces<edm::DetSetVector<SiStripRawDigi> >("PedestalsOrdered");
109  produces<edm::DetSetVector<SiStripProcessedRawDigi> >("NoisesOrdered");
110  produces<edm::DetSetVector<SiStripRawDigi> >("PedSubtrDigisOrdered");
111  produces<edm::DetSetVector<SiStripRawDigi> >("CMSubtrDigisOrdered");
112  } else { //by module
113  produces<edm::DetSetVector<SiStripRawDigi> >("ModulePedestals");
114  produces<edm::DetSetVector<SiStripProcessedRawDigi> >("ModuleNoises");
115  produces<edm::DetSetVector<SiStripRawDigi> >("PedSubtrModuleDigis");
116  produces<std::map<uint32_t, std::vector<uint32_t> > >("ModuleMedians");
117  produces<edm::DetSetVector<SiStripRawDigi> >("CMSubtrModuleDigis");
118  produces<edm::DetSetVector<SiStripDigi> >("ZSModuleDigis");
119  } //end of by module check
120 
121  } //end of FEDEmulatorModule constructor

References byModule_, fedEmulator_, sistrip::FEDEmulator::initialise(), spyReorderedDigisTag_, spyReorderedDigisToken_, spyVirginRawDigisTag_, and spyVirginRawDigisToken_.

◆ ~FEDEmulatorModule()

sistrip::FEDEmulatorModule::~FEDEmulatorModule ( )
override

Definition at line 123 of file SiStripFEDEmulatorModule.cc.

123 {}

Member Function Documentation

◆ produce()

void sistrip::FEDEmulatorModule::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDProducer.

Definition at line 126 of file SiStripFEDEmulatorModule.cc.

126  {
127  //update cabling and pedestals
128  const SiStripFedCabling* lCabling = utility_.getCabling(iSetup);
131 
132  //initialise the algorithms object for the zero suppression
133  algorithms_->initialize(iSetup);
134 
135  //retrieve the digis
137  try { //to get the digis from the event
138  if (!byModule_) {
139  iEvent.getByToken(spyReorderedDigisToken_, lDigisHandle);
140  } else { //digis supplied by module
141  iEvent.getByToken(spyVirginRawDigisToken_, lDigisHandle);
142  } //end of by module check
143  } catch (const cms::Exception& e) {
144  std::cout << e.what();
145  return;
146  } //end of get digis try
147 
148  const edm::DetSetVector<SiStripRawDigi>* lInputDigis = lDigisHandle.product();
149 
150  unsigned int lNDigis = lInputDigis->size();
151 
152  //define output containers
153  //reserve space, will push_back elements
154  std::vector<edm::DetSetVector<SiStripRawDigi>::detset> pedsData;
155  pedsData.reserve(lNDigis);
156  std::vector<edm::DetSetVector<SiStripProcessedRawDigi>::detset> noiseData;
157  noiseData.reserve(lNDigis);
158  std::vector<edm::DetSetVector<SiStripRawDigi>::detset> pedSubtrData;
159  pedSubtrData.reserve(lNDigis);
160  std::vector<edm::DetSetVector<SiStripRawDigi>::detset> cmSubtrData;
161  cmSubtrData.reserve(lNDigis);
162  //zero suppressed contained - no fixed size (could be empty) so no need to reserve elements.
163  std::vector<edm::DetSet<SiStripDigi> > zsData;
164 
165  //this is a map: no reserve/resize
166  std::map<uint32_t, std::vector<uint32_t> > medsData;
167 
168  edm::DetSetVector<SiStripRawDigi>::const_iterator inputChannel = lInputDigis->begin();
169 
170  for (; inputChannel != lInputDigis->end(); ++inputChannel) { //loop on input channels
171  uint32_t lDetId = inputChannel->detId(); //either fedIndex or detId
172 
173  pedsData.push_back(edm::DetSetVector<SiStripRawDigi>::detset(lDetId));
174  noiseData.push_back(edm::DetSetVector<SiStripProcessedRawDigi>::detset(lDetId));
175  pedSubtrData.push_back(edm::DetSetVector<SiStripRawDigi>::detset(lDetId));
176  cmSubtrData.push_back(edm::DetSetVector<SiStripRawDigi>::detset(lDetId));
177 
178  unsigned int lNStrips = inputChannel->size();
179 
180  //define output digi containers
181  std::vector<SiStripRawDigi>& pedsDetSetData = pedsData.back().data;
182  pedsDetSetData.reserve(lNStrips);
183  std::vector<SiStripProcessedRawDigi>& noiseDetSetData = noiseData.back().data;
184  noiseDetSetData.reserve(lNStrips);
185  std::vector<SiStripRawDigi>& pedSubtrDetSetData = pedSubtrData.back().data;
186  pedSubtrDetSetData.reserve(lNStrips);
187  std::vector<SiStripRawDigi>& cmSubtrDetSetData = cmSubtrData.back().data;
188  cmSubtrDetSetData.reserve(lNStrips);
189  //zero suppressed - slightly different procedure as not fixed size
190  edm::DetSet<SiStripDigi> zsDetSetData(lDetId);
191 
192  //determine the number of APV pairs in the channel
193  uint32_t lNPairs = static_cast<uint32_t>(lNStrips * 1. / sistrip::STRIPS_PER_FEDCH);
194  uint32_t lPair = 0;
195 
196  std::vector<uint32_t> medsDetSetData;
197  medsDetSetData.reserve(lNPairs * 2); //2*number of pairs per module. If not by module, lNPairs = 1...
198 
199  if (!byModule_) { //the input is not stored by module
200  //need to retrieve the proper detId from cabling
201  uint16_t lFedId = 0;
202  uint16_t lFedChannel = 0;
203  sistrip::SpyUtilities::fedIndex(lDetId, lFedId, lFedChannel);
204 
205  const FedChannelConnection& lConnection = lCabling->fedConnection(lFedId, lFedChannel);
206  lDetId = lConnection.detId();
207  lNPairs = lConnection.nApvPairs();
208  lPair = lConnection.apvPairNumber();
209  } //end of by module check
210 
211  fedEmulator_.initialiseModule(lDetId, lNPairs, lPair);
212 
213  //get the pedestal values
214  //stored by module in the database
215  fedEmulator_.retrievePedestals(lPedsHandle);
216  fedEmulator_.retrieveNoises(lNoiseHandle);
217 
218  //last option: fill medians from these ped subtr data
219  //if want something else, need to call a method to fill
220  //the data member medians_ of the class fedEmulator.
222  inputChannel, pedsDetSetData, noiseDetSetData, pedSubtrDetSetData, medsDetSetData, true);
223 
224  fedEmulator_.subtractCM(pedSubtrDetSetData, cmSubtrDetSetData);
225 
226  //fill the median map
227  medsData[inputChannel->detId()] = medsDetSetData;
228 
229  //zero suppress the digis
230  fedEmulator_.zeroSuppress(cmSubtrDetSetData, zsDetSetData, algorithms_);
231  if (!zsDetSetData.empty())
232  zsData.push_back(zsDetSetData);
233 
234  } //loop on input channels
235 
236  std::unique_ptr<edm::DetSetVector<SiStripRawDigi> > lPeds(new edm::DetSetVector<SiStripRawDigi>(pedsData, true));
237  std::unique_ptr<edm::DetSetVector<SiStripProcessedRawDigi> > lNoises(
238  new edm::DetSetVector<SiStripProcessedRawDigi>(noiseData, true));
239 
240  std::unique_ptr<edm::DetSetVector<SiStripRawDigi> > lOutputPedSubtr(
241  new edm::DetSetVector<SiStripRawDigi>(pedSubtrData, true));
242 
243  std::unique_ptr<edm::DetSetVector<SiStripRawDigi> > lOutputCMSubtr(
244  new edm::DetSetVector<SiStripRawDigi>(cmSubtrData, true));
245 
246  std::unique_ptr<std::map<uint32_t, std::vector<uint32_t> > > lMedians(
247  new std::map<uint32_t, std::vector<uint32_t> >(medsData));
248 
249  //zero suppressed digis
250  std::unique_ptr<edm::DetSetVector<SiStripDigi> > lOutputZS(new edm::DetSetVector<SiStripDigi>(zsData));
251 
252  if (!byModule_) {
253  iEvent.put(std::move(lMedians), "Medians");
254  iEvent.put(std::move(lPeds), "PedestalsOrdered");
255  iEvent.put(std::move(lNoises), "NoisesOrdered");
256  iEvent.put(std::move(lOutputPedSubtr), "PedSubtrDigisOrdered");
257  iEvent.put(std::move(lOutputCMSubtr), "CMSubtrDigisOrdered");
258  } else {
259  iEvent.put(std::move(lPeds), "ModulePedestals");
260  iEvent.put(std::move(lNoises), "ModuleNoises");
261  iEvent.put(std::move(lOutputPedSubtr), "PedSubtrModuleDigis");
262  iEvent.put(std::move(lMedians), "ModuleMedians");
263  iEvent.put(std::move(lOutputCMSubtr), "CMSubtrModuleDigis");
264  iEvent.put(std::move(lOutputZS), "ZSModuleDigis");
265  }
266 
267  } //produce method

References algorithms_, FedChannelConnection::apvPairNumber(), edm::DetSetVector< T >::begin(), byModule_, gather_cfg::cout, FedChannelConnection::detId(), MillePedeFileConverter_cfg::e, edm::DetSet< T >::empty(), edm::DetSetVector< T >::end(), SiStripFedCabling::fedConnection(), fedEmulator_, sistrip::SpyUtilities::fedIndex(), sistrip::SpyUtilities::getCabling(), sistrip::SpyUtilities::getNoiseHandle(), sistrip::SpyUtilities::getPedestalHandle(), iEvent, sistrip::FEDEmulator::initialiseModule(), genParticles_cff::map, eostools::move(), FedChannelConnection::nApvPairs(), edm::Handle< T >::product(), sistrip::FEDEmulator::retrieveNoises(), sistrip::FEDEmulator::retrievePedestals(), edm::DetSetVector< T >::size(), spyReorderedDigisToken_, spyVirginRawDigisToken_, sistrip::STRIPS_PER_FEDCH, sistrip::FEDEmulator::subtractCM(), sistrip::FEDEmulator::subtractPedestals(), utility_, and sistrip::FEDEmulator::zeroSuppress().

Member Data Documentation

◆ algorithms_

std::unique_ptr<SiStripRawProcessingAlgorithms> sistrip::FEDEmulatorModule::algorithms_
private

object for zero-suppression

Definition at line 79 of file SiStripFEDEmulatorModule.cc.

Referenced by produce().

◆ byModule_

bool sistrip::FEDEmulatorModule::byModule_
private

Definition at line 73 of file SiStripFEDEmulatorModule.cc.

Referenced by FEDEmulatorModule(), and produce().

◆ fedEmulator_

sistrip::FEDEmulator sistrip::FEDEmulatorModule::fedEmulator_
private

Definition at line 75 of file SiStripFEDEmulatorModule.cc.

Referenced by FEDEmulatorModule(), and produce().

◆ messageLabel_

const char * sistrip::FEDEmulatorModule::messageLabel_ = "SiStripFEDEmulatorModule"
staticprivate

Definition at line 77 of file SiStripFEDEmulatorModule.cc.

◆ spyReorderedDigisTag_

edm::InputTag sistrip::FEDEmulatorModule::spyReorderedDigisTag_
private

Definition at line 67 of file SiStripFEDEmulatorModule.cc.

Referenced by FEDEmulatorModule().

◆ spyReorderedDigisToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > sistrip::FEDEmulatorModule::spyReorderedDigisToken_
private

Definition at line 69 of file SiStripFEDEmulatorModule.cc.

Referenced by FEDEmulatorModule(), and produce().

◆ spyVirginRawDigisTag_

edm::InputTag sistrip::FEDEmulatorModule::spyVirginRawDigisTag_
private

Definition at line 68 of file SiStripFEDEmulatorModule.cc.

Referenced by FEDEmulatorModule().

◆ spyVirginRawDigisToken_

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > sistrip::FEDEmulatorModule::spyVirginRawDigisToken_
private

Definition at line 70 of file SiStripFEDEmulatorModule.cc.

Referenced by FEDEmulatorModule(), and produce().

◆ utility_

SpyUtilities sistrip::FEDEmulatorModule::utility_
private

Definition at line 82 of file SiStripFEDEmulatorModule.cc.

Referenced by produce().

FedChannelConnection::nApvPairs
const uint16_t & nApvPairs() const
Definition: FedChannelConnection.h:215
sistrip::FEDEmulatorModule::spyVirginRawDigisToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > spyVirginRawDigisToken_
Definition: SiStripFEDEmulatorModule.cc:70
edm::DetSetVector< SiStripRawDigi >
sistrip::FEDEmulator::retrievePedestals
void retrievePedestals(const edm::ESHandle< SiStripPedestals > &aHandle)
Definition: SiStripFEDEmulator.cc:60
sistrip::FEDEmulator::subtractPedestals
void subtractPedestals(const edm::DetSetVector< SiStripRawDigi >::const_iterator &inputChannel, std::vector< SiStripRawDigi > &pedsDetSetData, std::vector< SiStripProcessedRawDigi > &noiseDetSetData, std::vector< SiStripRawDigi > &pedSubtrDetSetData, std::vector< uint32_t > &medsDetSetData, const bool fillApvsForCM)
Definition: SiStripFEDEmulator.cc:84
edm::Handle::product
T const * product() const
Definition: Handle.h:70
edm::DetSetVector::end
iterator end()
Return the off-the-end iterator.
Definition: DetSetVector.h:325
edm::DetSet
Definition: DetSet.h:23
sistrip::FEDEmulatorModule::byModule_
bool byModule_
Definition: SiStripFEDEmulatorModule.cc:73
gather_cfg.cout
cout
Definition: gather_cfg.py:144
edm::DetSetVector::begin
iterator begin()
Return an iterator to the first DetSet.
Definition: DetSetVector.h:314
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:46
SiStripFedCabling::fedConnection
FedChannelConnection fedConnection(uint16_t fed_id, uint16_t fed_ch) const
Definition: SiStripFedCabling.cc:171
SiStripRawProcessingFactory::create
static std::unique_ptr< SiStripRawProcessingAlgorithms > create(const edm::ParameterSet &, edm::ConsumesCollector)
Definition: SiStripRawProcessingFactory.cc:16
sistrip::SpyUtilities::getNoiseHandle
edm::ESHandle< SiStripNoises > getNoiseHandle(const edm::EventSetup &eventSetup)
Definition: SiStripSpyUtilities.cc:98
sistrip::SpyUtilities::getPedestalHandle
edm::ESHandle< SiStripPedestals > getPedestalHandle(const edm::EventSetup &eventSetup)
Definition: SiStripSpyUtilities.cc:87
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition: SiStripFedCabling.h:25
edm::Handle
Definition: AssociativeIterator.h:50
sistrip::FEDEmulator::initialiseModule
void initialiseModule(const uint32_t aDetId, const uint32_t aNPairs, const uint32_t aPair)
Definition: SiStripFEDEmulator.cc:37
sistrip::FEDEmulator::subtractCM
void subtractCM(const std::vector< SiStripRawDigi > &pedSubtrDetSetData, std::vector< SiStripRawDigi > &cmSubtrDetSetData)
Definition: SiStripFEDEmulator.cc:169
sistrip::FEDEmulatorModule::spyReorderedDigisTag_
edm::InputTag spyReorderedDigisTag_
Definition: SiStripFEDEmulatorModule.cc:67
edm::ESHandle< SiStripPedestals >
sistrip::FEDEmulator::zeroSuppress
void zeroSuppress(const std::vector< SiStripRawDigi > &cmSubtrDetSetData, edm::DetSet< SiStripDigi > &zsDetSetData, const std::unique_ptr< SiStripRawProcessingAlgorithms > &algorithms)
Definition: SiStripFEDEmulator.cc:190
edm::DetSetVector::size
size_type size() const
Return the number of contained DetSets.
Definition: DetSetVector.h:259
sistrip::FEDEmulatorModule::spyReorderedDigisToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > spyReorderedDigisToken_
Definition: SiStripFEDEmulatorModule.cc:69
sistrip::FEDEmulator::initialise
void initialise(const bool byModule)
Definition: SiStripFEDEmulator.cc:30
FedChannelConnection
Class containning control, module, detector and connection information, at the level of a FED channel...
Definition: FedChannelConnection.h:26
FedChannelConnection::detId
const uint32_t & detId() const
Definition: FedChannelConnection.h:213
sistrip::FEDEmulatorModule::utility_
SpyUtilities utility_
Definition: SiStripFEDEmulatorModule.cc:82
edm::ParameterSet
Definition: ParameterSet.h:47
edm::DetSetVector::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSetVector.h:102
sistrip::STRIPS_PER_FEDCH
static const uint16_t STRIPS_PER_FEDCH
Definition: ConstantsForHardwareSystems.h:44
sistrip::FEDEmulator::retrieveNoises
void retrieveNoises(const edm::ESHandle< SiStripNoises > &aHandle)
Definition: SiStripFEDEmulator.cc:72
iEvent
int iEvent
Definition: GenABIO.cc:224
sistrip::FEDEmulatorModule::spyVirginRawDigisTag_
edm::InputTag spyVirginRawDigisTag_
Definition: SiStripFEDEmulatorModule.cc:68
sistrip::SpyUtilities::getCabling
const SiStripFedCabling * getCabling(const edm::EventSetup &)
Updates the cabling object from the DB.
Definition: SiStripSpyUtilities.cc:37
eostools.move
def move(src, dest)
Definition: eostools.py:511
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
FedChannelConnection::apvPairNumber
uint16_t apvPairNumber() const
Definition: FedChannelConnection.h:230
cms::Exception
Definition: Exception.h:70
genParticles_cff.map
map
Definition: genParticles_cff.py:11
sistrip::FEDEmulatorModule::algorithms_
std::unique_ptr< SiStripRawProcessingAlgorithms > algorithms_
object for zero-suppression
Definition: SiStripFEDEmulatorModule.cc:79
edm::InputTag
Definition: InputTag.h:15
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
sistrip::FEDEmulatorModule::fedEmulator_
sistrip::FEDEmulator fedEmulator_
Definition: SiStripFEDEmulatorModule.cc:75
sistrip::SpyUtilities::fedIndex
static void fedIndex(uint32_t aFedIndex, uint16_t &aFedId, uint16_t &aFedChannel)
Definition: SiStripSpyUtilities.cc:398