CMS 3D CMS Logo

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

◆ any()

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

Definition at line 37 of file ECalSD.cc.

References spr::find(), and findQualityFiles::v.

Referenced by checkBTagCalibrationConsistency::_eta_pt_discr_entries_generator(), mps_alisetup.SetupAlignment::_fetch_datasets(), Mixins::_modifyParametersFromDict(), L1MuGMTMipIsoAU::assignISO(), cmsswConfigtrace::auto_inspect(), upgradeWorkflowComponents.UpgradeWorkflow_weightedVertex::condition(), upgradeWorkflowComponents.PatatrackWorkflow::condition(), upgradeWorkflowComponents.UpgradeWorkflow_Neutron::condition(), upgradeWorkflowComponents.UpgradeWorkflowPremix::condition(), htmlCreator::create(), pdfCreator::create(), beamerCreator::create(), geometry.Alignables::create_list(), TkMap_script_phase1::downloadnlineDQMhisto(), TkMap_script_phase1::downloadOfflineDQMhisto(), TkMap_script_phase1::downloadOfflinePCLhisto(), ECalSD::EnergyCorrected(), utils::get_relval_id(), ECalSD::getDepth(), ECalSD::getEnergyDeposit(), ECalSD::initMap(), utils_v2::is_relvaldata(), generateFlavCfromFlavB::main(), gen.GeneratorAnalyzer.GeneratorAnalyzer::makeMCInfo(), timeStructure::plot(), MatrixReader.MatrixReader::prepare(), ConfigBuilder.ConfigBuilder::prepare_NANOGEN(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), edm::stream::impl::Transformer::registerTransform(), edm::limited::impl::Transformer< T >::registerTransform(), edm::global::impl::Transformer< T >::registerTransform(), edm::stream::impl::Transformer::registerTransformAsync(), edm::one::impl::Transformer< T >::registerTransformAsync(), edm::limited::impl::Transformer< T >::registerTransformAsync(), edm::global::impl::Transformer< T >::registerTransformAsync(), StringCutEventSelector< Object, any >::select(), jetTools::setupBTagging(), MatrixReader.MatrixReader::showRaw(), SiPixelTemplate::simpletemplate2D(), edm::TransformerBase::transformImpAsync(), 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