CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
CSCStripElectronicsSim.cc File Reference
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "SimMuon/CSCDigitizer/src/CSCStripElectronicsSim.h"
#include "SimMuon/CSCDigitizer/src/CSCAnalogSignal.h"
#include "SimMuon/CSCDigitizer/src/CSCCrosstalkGenerator.h"
#include "SimMuon/CSCDigitizer/src/CSCStripConditions.h"
#include "DataFormats/CSCDigi/interface/CSCComparatorDigi.h"
#include "DataFormats/CSCDigi/interface/CSCStripDigi.h"
#include "Geometry/CSCGeometry/interface/CSCLayer.h"
#include "Geometry/CSCGeometry/interface/CSCChamberSpecs.h"
#include "Geometry/CSCGeometry/interface/CSCLayerGeometry.h"
#include "SimMuon/CSCDigitizer/src/CSCDetectorHit.h"
#include "CLHEP/Units/GlobalPhysicalConstants.h"
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include "boost/bind.hpp"
#include <list>
#include <cassert>

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

References CSCAnalogSignal::getTotal().

Referenced by CSCStripElectronicsSim::addCrosstalk().

318  {
319  return ( s1.getTotal() > s2.getTotal() );
320 }
float getTotal() const