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

bool SortSignalsByTotal ( const CSCAnalogSignal s1,
const CSCAnalogSignal s2 
)

Definition at line 282 of file CSCStripElectronicsSim.cc.

References CSCAnalogSignal::getTotal().

Referenced by CSCStripElectronicsSim::addCrosstalk().

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