CMS 3D CMS Logo

Functions
CSCStripElectronicsSim.cc File Reference
#include "DataFormats/CSCDigi/interface/CSCComparatorDigi.h"
#include "DataFormats/CSCDigi/interface/CSCStripDigi.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/CSCGeometry/interface/CSCChamberSpecs.h"
#include "Geometry/CSCGeometry/interface/CSCLayer.h"
#include "Geometry/CSCGeometry/interface/CSCLayerGeometry.h"
#include "SimMuon/CSCDigitizer/src/CSCAnalogSignal.h"
#include "SimMuon/CSCDigitizer/src/CSCCrosstalkGenerator.h"
#include "SimMuon/CSCDigitizer/src/CSCDetectorHit.h"
#include "SimMuon/CSCDigitizer/src/CSCStripConditions.h"
#include "SimMuon/CSCDigitizer/src/CSCStripElectronicsSim.h"
#include "CLHEP/Random/RandGaussQ.h"
#include "CLHEP/Units/GlobalPhysicalConstants.h"
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include <boost/bind/bind.hpp>
#include <cassert>
#include <list>

Go to the source code of this file.

Functions

bool SortSignalsByTotal (const CSCAnalogSignal &s1, const CSCAnalogSignal &s2)
 

Function Documentation

◆ SortSignalsByTotal()

bool SortSignalsByTotal ( const CSCAnalogSignal s1,
const CSCAnalogSignal s2 
)

Definition at line 284 of file CSCStripElectronicsSim.cc.

284  {
285  return (s1.getTotal() > s2.getTotal());
286 }

References CSCAnalogSignal::getTotal().

Referenced by CSCStripElectronicsSim::addCrosstalk().

CSCAnalogSignal::getTotal
float getTotal() const
Definition: CSCAnalogSignal.h:71