CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

bool SortSignalsByTotal ( const CSCAnalogSignal s1,
const CSCAnalogSignal s2 
)

Definition at line 284 of file CSCStripElectronicsSim.cc.

References CSCAnalogSignal::getTotal().

Referenced by CSCStripElectronicsSim::addCrosstalk().

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