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.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 282 of file CSCStripElectronicsSim.cc.

282  {
283  return (s1.getTotal() > s2.getTotal());
284 }

References CSCAnalogSignal::getTotal(), and indexGen::s2.

Referenced by CSCStripElectronicsSim::addCrosstalk().

CSCAnalogSignal::getTotal
float getTotal() const
Definition: CSCAnalogSignal.h:71
indexGen.s2
s2
Definition: indexGen.py:107