CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
ECalSD.cc File Reference
#include "SimG4CMS/Calo/interface/ECalSD.h"
#include "SimG4CMS/Calo/interface/EcalDumpGeometry.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 "DataFormats/Math/interface/GeantUnits.h"
#include "SimDataFormats/CaloHit/interface/PCaloHit.h"
#include "FWCore/Framework/interface/ESTransientHandle.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "DD4hep/Filter.h"
#include "G4LogicalVolumeStore.hh"
#include "G4LogicalVolume.hh"
#include "G4Step.hh"
#include "G4Track.hh"
#include "G4VProcess.hh"
#include "G4SystemOfUnits.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 37 of file ECalSD.cc.

References spr::find().

Referenced by checkBTagCalibrationConsistency::_eta_pt_discr_entries_generator(), mps_alisetup.SetupAlignment::_fetch_datasets(), Mixins::_modifyParametersFromDict(), L1MuGMTMipIsoAU::assignISO(), cmsswConfigtrace::auto_inspect(), upgradeWorkflowComponents.PatatrackWorkflow::condition(), upgradeWorkflowComponents.UpgradeWorkflow_Neutron::condition(), upgradeWorkflowComponents.UpgradeWorkflowPremix::condition(), htmlCreator::create(), pdfCreator::create(), beamerCreator::create(), geometry.Alignables::create_list(), customizeHLTforPatatrack::customiseEcalLocalReconstruction(), TkMap_script_phase1::downloadnlineDQMhisto(), TkMap_script_phase1::downloadOfflineDQMhisto(), TkMap_script_phase1::downloadOfflinePCLhisto(), ECalSD::EnergyCorrected(), ECalSD::getDepth(), ECalSD::getEnergyDeposit(), ECalSD::initMap(), utils_v2::is_relvaldata(), utils::is_relvaldata(), generateFlavCfromFlavB::main(), gen.GeneratorAnalyzer.GeneratorAnalyzer::makeMCInfo(), timeStructure::plot(), MatrixReader.MatrixReader::prepare(), ConfigBuilder.ConfigBuilder::prepare_NANOGEN(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), StringCutEventSelector< Object, any >::select(), jetTools::setupBTagging(), MatrixReader.MatrixReader::showRaw(), SiPixelTemplate::simpletemplate2D(), crabFunctions.CrabTask::updateJobStats(), and dataset.DatasetBase::writefilelist_hippy().

37  {
38  return std::find(v.begin(), v.end(), what) != v.end();
39 }
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19