Skip to content

Commit

Permalink
Add consistent indentation and use consumes calls missing in the anal…
Browse files Browse the repository at this point in the history
…yzers
  • Loading branch information
CesarBernardes authored and mmusich committed Sep 6, 2018
1 parent 5507e9e commit 4295cb5
Show file tree
Hide file tree
Showing 4 changed files with 465 additions and 464 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,28 +52,28 @@ namespace {

// Check on FEDRawData pointer
if UNLIKELY( !rawData.data() ) {
if (edm::isDebugEnabled()) {
edm::LogWarning(sistrip::mlRawToCluster_)
<< "[ClustersFromRawProducer::"
<< __func__
<< "]"
<< " NULL pointer to FEDRawData for FED id "
<< fedId;
}
return buffer;
}
if (edm::isDebugEnabled()) {
edm::LogWarning(sistrip::mlRawToCluster_)
<< "[ClustersFromRawProducer::"
<< __func__
<< "]"
<< " NULL pointer to FEDRawData for FED id "
<< fedId;
}
return buffer;
}

// Check on FEDRawData size
if UNLIKELY( !rawData.size() ) {
if (edm::isDebugEnabled()) {
edm::LogWarning(sistrip::mlRawToCluster_)
<< "[ClustersFromRawProducer::"
<< __func__ << "]"
<< " FEDRawData has zero size for FED id "
<< fedId;
}
return buffer;
if (edm::isDebugEnabled()) {
edm::LogWarning(sistrip::mlRawToCluster_)
<< "[ClustersFromRawProducer::"
<< __func__ << "]"
<< " FEDRawData has zero size for FED id "
<< fedId;
}
return buffer;
}

// construct FEDBuffer
try {
Expand Down Expand Up @@ -105,18 +105,18 @@ namespace {

class ClusterFiller final : public StripClusterizerAlgorithm::output_t::Getter {
public:
ClusterFiller(const FEDRawDataCollection& irawColl,
StripClusterizerAlgorithm & iclusterizer,
SiStripRawProcessingAlgorithms & irawAlgos,
bool idoAPVEmulatorCheck,
ClusterFiller(const FEDRawDataCollection& irawColl,
StripClusterizerAlgorithm & iclusterizer,
SiStripRawProcessingAlgorithms & irawAlgos,
bool idoAPVEmulatorCheck,
bool hybridZeroSuppressed):
rawColl(irawColl),
clusterizer(iclusterizer),
rawAlgos(irawAlgos),
doAPVEmulatorCheck(idoAPVEmulatorCheck),
hybridZeroSuppressed_(hybridZeroSuppressed){
incTot(clusterizer.allDetIds().size());
for (auto & d : done) d=nullptr;
incTot(clusterizer.allDetIds().size());
for (auto & d : done) d=nullptr;
}


Expand Down
Loading

0 comments on commit 4295cb5

Please sign in to comment.