CMS 3D CMS Logo

Functions

/data/git/CMSSW_5_3_11_patch5/src/SimG4CMS/Calo/src/ECalSD.cc File Reference

#include "SimG4CMS/Calo/interface/ECalSD.h"
#include "SimG4Core/Notification/interface/TrackInformation.h"
#include "Geometry/EcalCommonData/interface/EcalBarrelNumberingScheme.h"
#include "Geometry/EcalCommonData/interface/EcalBaseNumber.h"
#include "Geometry/EcalCommonData/interface/EcalEndcapNumberingScheme.h"
#include "Geometry/EcalCommonData/interface/EcalPreshowerNumberingScheme.h"
#include "Geometry/EcalCommonData/interface/ESTBNumberingScheme.h"
#include "DataFormats/EcalDetId/interface/EBDetId.h"
#include "DetectorDescription/Core/interface/DDFilter.h"
#include "DetectorDescription/Core/interface/DDFilteredView.h"
#include "DetectorDescription/Core/interface/DDSolid.h"
#include "DetectorDescription/Core/interface/DDMaterial.h"
#include "DetectorDescription/Core/interface/DDValue.h"
#include "G4LogicalVolumeStore.hh"
#include "G4LogicalVolume.hh"
#include "G4Step.hh"
#include "G4Track.hh"
#include "G4VProcess.hh"
#include <algorithm>

Go to the source code of this file.

Functions

template<class T >
bool any (const std::vector< T > &v, const T &what)

Function Documentation

template<class T >
bool any ( const std::vector< T > &  v,
const T what 
)

Definition at line 32 of file ECalSD.cc.

References spr::find().

{
  return std::find(v.begin(), v.end(), what) != v.end();
}