repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
nistefan/cmssw | PhysicsTools/SelectorUtils/plugins/ExpressionEvaluatorCutWithEventContent.cc | #include "CommonTools/Utils/interface/ExpressionEvaluator.h"
#include "CommonTools/Utils/interface/ExpressionEvaluatorTemplates.h"
#include "PhysicsTools/SelectorUtils/interface/CutApplicatorWithEventContentBase.h"
class ExpressionEvaluatorCutWithEventContent : public CutApplicatorWithEventContentBase {
public:
Exp... |
nistefan/cmssw | L1Trigger/L1TMuonEndCap/src/TTPrimitiveConversion.cc | #include "L1Trigger/L1TMuonEndCap/interface/TTPrimitiveConversion.h"
#include "L1Trigger/L1TMuonEndCap/interface/SectorProcessorLUT.h"
#include "L1Trigger/L1TMuonEndCap/interface/TrackTools.h"
void TTPrimitiveConversion::configure(
const TTGeometryTranslator* tp_ttgeom,
const SectorProcessorLUT* lut,
int... |
nistefan/cmssw | TrackingTools/GsfTracking/src/GsfChi2MeasurementEstimator.cc | <gh_stars>1-10
#include "TrackingTools/GsfTracking/interface/GsfChi2MeasurementEstimator.h"
#include "TrackingTools/GsfTools/interface/GetComponents.h"
#include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
#include "TrackingTools/GsfTracking/interface/PosteriorWeightsCalculator.h"
#include "FWC... |
nistefan/cmssw | CondCore/BeamSpotPlugins/plugins/BeamSpot_PayloadInspector.cc | #include "CondCore/Utilities/interface/PayloadInspectorModule.h"
#include "CondCore/Utilities/interface/PayloadInspector.h"
#include "CondCore/CondDB/interface/Time.h"
#include "CondFormats/BeamSpotObjects/interface/BeamSpotObjects.h"
#include <memory>
#include <sstream>
#include "TCanvas.h"
#include "TH2F.h"
namesp... |
nistefan/cmssw | RecoParticleFlow/PFProducer/src/PFAlgoTestBenchConversions.cc | <reponame>nistefan/cmssw
#include "RecoParticleFlow/PFProducer/interface/PFAlgoTestBenchConversions.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlock.h"
using namespace std;
using namespace reco;
void PFAlgoTestBenchConversions::processBlock(const reco::PFBlockRef& blockref,
std::list<PFBlockRef>... |
nistefan/cmssw | DataFormats/CTPPSReco/src/TotemRPLocalTrack.cc | /****************************************************************************
*
* This is a part of TOTEM offline software.
* Authors:
* <NAME>
* <NAME> (<EMAIL>)
*
****************************************************************************/
#include "DataFormats/CTPPSReco/interface/TotemRPLocalTrack.h"
/... |
nistefan/cmssw | TrackingTools/TransientTrack/src/TransientTrackFromFTSFactory.cc | #include "TrackingTools/TransientTrack/interface/TransientTrackFromFTSFactory.h"
#include "TrackingTools/TransientTrack/interface/TransientTrackFromFTS.h"
using namespace reco;
using namespace std;
TransientTrack TransientTrackFromFTSFactory::build (const FreeTrajectoryState & fts) const {
return TransientTrack(new... |
nistefan/cmssw | RecoBTag/FeatureTools/src/TrackInfoBuilder.cc | <filename>RecoBTag/FeatureTools/src/TrackInfoBuilder.cc
#include "RecoBTag/FeatureTools/interface/TrackInfoBuilder.h"
#include "DataFormats/PatCandidates/interface/PackedCandidate.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
#include "DataFormats/BTauReco/interface/JetTagInfo.h"
#include "Dat... |
nistefan/cmssw | DataFormats/TauReco/src/PFTauDecayMode.cc | #include "DataFormats/TauReco/interface/PFTauDecayMode.h"
namespace reco{
PFTauDecayMode::PFTauDecayMode( const VertexCompositeCandidate& chargedPions,
const CompositeCandidate& piZeroes,
const CompositeCandi... |
nistefan/cmssw | CalibTracker/SiStripQuality/plugins/SiStripQualityHotStripIdentifier.cc | #include "CalibTracker/SiStripQuality/plugins/SiStripQualityHotStripIdentifier.h"
#include "CalibFormats/SiStripObjects/interface/SiStripQuality.h"
#include "DataFormats/TrackerRecHit2D/interface/SiStripRecHit2D.h"
#include "DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h"
#include "DataFormats/Track... |
nistefan/cmssw | DPGAnalysis/SiStripTools/src/DigiVertexCorrHistogramMaker.cc | <reponame>nistefan/cmssw<filename>DPGAnalysis/SiStripTools/src/DigiVertexCorrHistogramMaker.cc<gh_stars>1-10
#include "DPGAnalysis/SiStripTools/interface/DigiVertexCorrHistogramMaker.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/... |
nistefan/cmssw | L1Trigger/L1THGCal/plugins/ntuples/HGCalTriggerNtupleGenJet.cc | #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "DataFormats/JetReco/interface/GenJet.h"
#include "DataFormats/JetReco/interface/GenJetCollection.h"
#include "L1Trigger/L1THGCal/interface/HGCalTriggerNtupleBase.h"
class HGCalTriggerNtupleGenJet : public HGCalTriggerNtupleBase
{
public:
... |
nistefan/cmssw | PhysicsTools/PatAlgos/plugins/PATTriggerMatchEmbedder.cc | // -*- C++ -*-
//
// Package: PatAlgos
// Class: pat::PATTriggerMatchEmbedder
//
/**
\class pat::PATTriggerMatchEmbedder PATTriggerMatchEmbedder.cc "PhysicsTools/PatAlgos/plugins/PATTriggerMatchEmbedder.cc"
\brief
.
\author <NAME>
\version $Id: PATTriggerMatchEmbedder.cc,v 1.6 2010/09/02 17:5... |
nistefan/cmssw | Geometry/CSCGeometry/test/stubs/CSCGeometryOfStrips.cc | <reponame>nistefan/cmssw<gh_stars>1-10
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "Geometry/Records/interface/MuonGeometryRecord.h"
#include "Geome... |
nistefan/cmssw | L1TriggerConfig/Utilities/src/L1MenuViewer.cc | <gh_stars>1-10
#include <iomanip>
#include <iostream>
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include ... |
nistefan/cmssw | CondCore/Utilities/bin/conddb_test_gt_perf.cpp | <reponame>nistefan/cmssw
#include "CondCore/CondDB/interface/ConnectionPool.h"
#include "CondCore/CondDB/interface/IOVProxy.h"
#include "CondCore/CondDB/interface/GTProxy.h"
#include "CondCore/CondDB/src/IOVSchema.cc"
#include "CondCore/Utilities/interface/Utilities.h"
#include "CondCore/Utilities/interface/CondDBImp... |
nistefan/cmssw | Alignment/SurveyAnalysis/plugins/SurveyInputTrackerFromDB.cc | <reponame>nistefan/cmssw<filename>Alignment/SurveyAnalysis/plugins/SurveyInputTrackerFromDB.cc
#include "Alignment/CommonAlignment/interface/SurveyDet.h"
#include "Alignment/TrackerAlignment/interface/AlignableTracker.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/EventS... |
nistefan/cmssw | DQM/EcalCommon/src/MESetEcal.cc | <gh_stars>1-10
#include "DQM/EcalCommon/interface/MESetEcal.h"
#include "DQM/EcalCommon/interface/EcalDQMCommonUtils.h"
#include "DQM/EcalCommon/interface/MESetUtils.h"
#include <limits>
#include <sstream>
namespace ecaldqm
{
MESetEcal::MESetEcal(std::string const& _fullPath, binning::ObjectType _otype, binning::B... |
nistefan/cmssw | PhysicsTools/Heppy/src/Davismt2.cc | // #ifndef MT2_BISECT_C
// #define MT2_BISECT_C
/***********************************************************************/
/* */
/* Finding mt2 by Bisection */
/* ... |
nistefan/cmssw | FWCore/PythonParameterSet/src/PythonWrapper.cc | #include "FWCore/PythonParameterSet/src/PythonWrapper.h"
#include "FWCore/Utilities/interface/Exception.h"
//#include <iostream>
namespace edm {
void pythonToCppException(const std::string& iType)
{
using namespace boost::python;
PyObject *exc=nullptr, *val=nullptr, *trace=nullptr;
PyErr_Fetch(&exc,&val,&trace)... |
nistefan/cmssw | Validation/MuonGEMDigis/src/GEMDigiTrackMatch.cc | #include "Validation/MuonGEMDigis/interface/GEMDigiTrackMatch.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/GEMDigi/interface/GEMDigiCollection.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include <TMath.h>
#include <TH1F.h>
#... |
nistefan/cmssw | L1Trigger/L1TCalorimeter/src/firmware/Stage2Layer2JetAlgorithmFirmwareImp1.cc | //
/// \class l1t::Stage2Layer2JetAlgorithmFirmwareImp1
///
/// \author: <NAME> and <NAME>
///
/// Description: Implementation of Jad's asymmetric map overlap algorithm with donut subtraction
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "L1Trigger/L1TCalorimeter/interface/Stage2Layer2JetAlgorith... |
nistefan/cmssw | Geometry/Records/src/HcalSimNumberingRecord.cc | <filename>Geometry/Records/src/HcalSimNumberingRecord.cc
// -*- C++ -*-
//
// Package: Record
// Class : HcalSimNumberingRecord
//
// Implementation:
// <Notes on implementation>
//
// Author:
// Created: Thu Dec 24 16:41:02 PDT 2013
#include "Geometry/Records/interface/HcalSimNumberingRecord.h... |
nistefan/cmssw | TrackingTools/PatternTools/src/TSCBLBuilderNoMaterial.cc | <filename>TrackingTools/PatternTools/src/TSCBLBuilderNoMaterial.cc<gh_stars>1-10
#include "TrackingTools/PatternTools/interface/TSCBLBuilderNoMaterial.h"
#include "TrackingTools/AnalyticalJacobians/interface/AnalyticalCurvilinearJacobian.h"
#include "TrackingTools/PatternTools/interface/TwoTrackMinimumDistance.h"
#incl... |
nistefan/cmssw | HLTrigger/Muon/test/HLTMuonRateAnalyzerWithWeight.cc | <filename>HLTrigger/Muon/test/HLTMuonRateAnalyzerWithWeight.cc
/** \class HLTMuonRateAnalyzerWithWeight
* Get L1/HLT efficiency/rate plots
*
* \author <NAME>
*/
#include "HLTrigger/Muon/test/HLTMuonRateAnalyzerWithWeight.h"
// Collaborating Class Header
#include "FWCore/Framework/interface/MakerMacros.h"
#inclu... |
nistefan/cmssw | DataFormats/L1DTTrackFinder/src/L1MuDTChambThDigi.cc | <gh_stars>0
//-------------------------------------------------
//
// Class L1MuDTChambThDigi
//
// Description: input data for PHTF trigger
//
//
// Author List: <NAME> UAM Madrid
//
//
//--------------------------------------------------
//-----------------------
// This Class's Header --
//------------------... |
nistefan/cmssw | RecoBTau/JetTagComputer/src/TagInfoMVACategorySelector.cc | #include <ext/functional>
#include <string>
#include <vector>
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/BTauReco/interface/TaggingVariable.h"
#include "PhysicsTools/MVAComputer/int... |
nistefan/cmssw | Alignment/CommonAlignmentParametrization/src/CompositeAlignmentParameters.cc | <filename>Alignment/CommonAlignmentParametrization/src/CompositeAlignmentParameters.cc<gh_stars>1-10
/// $Date: 2007/10/08 15:56:00 $
/// $Revision: 1.12 $
/// (last update by $Author: cklae $)
#include "Alignment/CommonAlignmentParametrization/interface/CompositeAlignmentParameters.h"
#include "FWCore/MessageLogge... |
nistefan/cmssw | DataFormats/PatCandidates/test/testKinResolutions.cc | <filename>DataFormats/PatCandidates/test/testKinResolutions.cc
#include <cppunit/extensions/HelperMacros.h>
#include <algorithm>
#include <iterator>
#include <iostream>
#include <iomanip>
#include <TMath.h>
#include "DataFormats/PatCandidates/interface/ParametrizationHelper.h"
#include "DataFormats/PatCandidates/inter... |
nistefan/cmssw | RecoParticleFlow/PFClusterTools/src/Erl_mlp.cc | #include "RecoParticleFlow/PFClusterTools/interface/Erl_mlp.h"
#include "TH1F.h"
using namespace pftools;
Erl_mlp::Erl_mlp()
{
}
Erl_mlp::~Erl_mlp()
{
}
|
nistefan/cmssw | CalibTracker/SiStripESProducers/plugins/DBWriter/modules.cc | #include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ModuleFactory.h"
#include "FWCore/Framework/interface/SourceFactory.h"
#include "CondFormats/DataRecord/interface/SiStripCondDataRecords.h"
//-------------------------------------------------------------------------------------... |
nistefan/cmssw | L1TriggerConfig/Utilities/src/L1TMuonGlobalParamsViewer.cc | <reponame>nistefan/cmssw<filename>L1TriggerConfig/Utilities/src/L1TMuonGlobalParamsViewer.cc
#include <iomanip>
#include <iostream>
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/inter... |
nistefan/cmssw | DataFormats/HcalDigi/src/HBHEDataFrame.cc | #include "DataFormats/HcalDigi/interface/HBHEDataFrame.h"
std::ostream& operator<<(std::ostream& s, const HBHEDataFrame& digi) {
s << digi.id() << " " << digi.size() << " samples " << digi.presamples() << " presamples ";
if (digi.zsUnsuppressed()) s << " zsUS";
if (digi.zsMarkAndPass()) s << " zsM&P";
if (dig... |
nistefan/cmssw | CondFormats/GEMObjects/src/GEMELMap.cc | #include "CondFormats/GEMObjects/interface/GEMELMap.h"
#include "CondFormats/GEMObjects/interface/GEMROmap.h"
#include "DataFormats/MuonDetId/interface/GEMDetId.h"
GEMELMap::GEMELMap():
theVersion("") {}
GEMELMap::GEMELMap(const std::string & version):
theVersion(version) {}
GEMELMap::~GEMELMap() {}
const std::... |
nistefan/cmssw | DQM/EcalCommon/src/EcalDQMCommonUtils.cc | <reponame>nistefan/cmssw
#include "DQM/EcalCommon/interface/EcalDQMCommonUtils.h"
#include "DataFormats/EcalDetId/interface/EcalPnDiodeDetId.h"
#include <mutex>
namespace ecaldqm
{
unsigned memarr[] = {kEEm07, kEEm08, kEEm02, kEEm03,
kEBm01, kEBm02, kEBm03, kEBm04, kEBm05, kEBm06, kEBm07, kE... |
nistefan/cmssw | CondFormats/RunInfo/test/testSerializationRunInfo.cpp | <reponame>nistefan/cmssw
#include "CondFormats/Serialization/interface/Test.h"
#include "CondFormats/RunInfo/src/headers.h"
int main()
{
testSerialization<FillInfo>();
testSerialization<LHCInfo>();
testSerialization<L1TriggerScaler>();
testSerialization<L1TriggerScaler::Lumi>();
testSerialization<... |
nistefan/cmssw | CondCore/Utilities/test/testHistograms.cpp | <gh_stars>1-10
#include<iostream>
#include<sstream>
#include "CondCore/Utilities/interface/PayloadInspector.h"
int main() {
std::cout <<"## Histo1D"<<std::endl;
cond::payloadInspector::Histogram1D<float> histo1( "histo1","x",7,5.,15.);
for( size_t i=0; i<20; i++ ) histo1.fillWithValue( (float)i );
std::cou... |
nistefan/cmssw | DetectorDescription/Core/src/PseudoTrap.cc | <reponame>nistefan/cmssw<gh_stars>0
#include "DetectorDescription/Core/src/PseudoTrap.h"
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include "CLHEP/Units/SystemOfUnits.h"
void DDI::PseudoTrap::stream(std::ostream & os) const
{
os << " x1[cm]=" << p_[0]/cm
<< " x2[cm]=" << p_[1]/cm
<< " y1[cm]=" << p_[2]... |
nistefan/cmssw | Alignment/ReferenceTrajectories/plugins/TwoBodyDecayTrajectoryFactory.cc | #include "TrackingTools/TrajectoryState/interface/FreeTrajectoryState.h"
#include "DataFormats/GeometrySurface/interface/Surface.h"
#include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
#include "DataFormats/Math/interface/Vector.h"
#include "DataFormats/Math/interface/Error.h"
#include "RecoVertex/VertexTools... |
nistefan/cmssw | DQM/TrackingMonitorClient/plugins/TrackingDQMClientHeavyIons.cc | <filename>DQM/TrackingMonitorClient/plugins/TrackingDQMClientHeavyIons.cc
#include "DQM/TrackingMonitorClient/plugins/TrackingDQMClientHeavyIons.h"
#include "DQMServices/ClientConfig/interface/FitSlicesYTool.h"
#include "DQMServices/Core/interface/MonitorElement.h"
#include "FWCore/ParameterSet/interface/ParameterSet... |
nistefan/cmssw | GeometryReaders/XMLIdealGeometryESSource/src/XMLIdealGeometryESProducer.cc | <reponame>nistefan/cmssw
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/ESTransientHandle.h"
#include "FWCore/Framework/interface/ModuleFactory.h"
#include "DetectorDescription/Core/interface/DDCompactView.h"
#include "DetectorDes... |
nistefan/cmssw | RecoEgamma/EgammaIsolationAlgos/plugins/EgammaHcalPFClusterIsolationProducer.cc | <filename>RecoEgamma/EgammaIsolationAlgos/plugins/EgammaHcalPFClusterIsolationProducer.cc
#include "RecoEgamma/EgammaIsolationAlgos/plugins/EgammaHcalPFClusterIsolationProducer.h"
#include "HLTrigger/HLTcore/interface/defaultModuleLabel.h"
#include "FWCore/Utilities/interface/TypeID.h"
#include "FWCore/Framework/inte... |
nistefan/cmssw | EventFilter/CSCRawToDigi/src/CSCTMBBlockedCFEB.cc | <gh_stars>1-10
//_________________________________________________________
//
// CSCTMBBlockedCFEB July 2010 <NAME>
// Unpacks TMB Logic Blocked CFEB Analyzer and stores in CSCTMBBlockedCFEB.h
//_________________________________________________________
//
#include "EventFilter/CSCRawToDigi/interface/CSCTMBBlockedCFE... |
nistefan/cmssw | L1TriggerConfig/L1TConfigProducers/src/L1TGlobalPrescalesVetosOnlineProd.cc | #include <strings.h> // strcasecmp
#include <iostream>
#include <fstream>
#include <stdexcept>
#include <unordered_map>
#include <utility>
#include "tmEventSetup/tmEventSetup.hh"
#include "tmEventSetup/esTriggerMenu.hh"
#include "tmEventSetup/esAlgorithm.hh"
#include "tmEventSetup/esCondition.hh"
#include "tmEventSetu... |
nistefan/cmssw | DQM/SiPixelPhase1Common/plugins/SiPixelPhase1Clusters.cc | // -*- C++ -*-
//
// Package: SiPixelPhase1Clusters
// Class: SiPixelPhase1Clusters
//
// Original Author: <NAME>
#include "DQM/SiPixelPhase1Common/interface/SiPixelPhase1Base.h"
#include "DataFormats/SiPixelCluster/interface/SiPixelCluster.h"
#include "DataFormats/SiStripCluster/interface/SiStripCluster.h"... |
nistefan/cmssw | HLTrigger/special/plugins/HLTHcalPhiSymFilter.cc | <filename>HLTrigger/special/plugins/HLTHcalPhiSymFilter.cc<gh_stars>1-10
#include "HLTHcalPhiSymFilter.h"
#include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
HLTHcalPhiSymFilter::HLTHcalPhiSymFilter(const edm::ParameterSet& iConfig) : HLTFilt... |
nistefan/cmssw | SimG4CMS/Forward/src/BHMNumberingScheme.cc | <filename>SimG4CMS/Forward/src/BHMNumberingScheme.cc
#include "SimG4CMS/Forward/interface/BHMNumberingScheme.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include "globals.hh"
BHMNumberingScheme::BHMNumberingScheme() {
LogDebug("BHMSim") << " Creating BHMN... |
nistefan/cmssw | FWCore/MessageService/test/UnitTestClient_P.cc | <gh_stars>1-10
// Tests effect of LogFlush by cfg-configurable choices of how many
// messages to use to clog the queue and whether or not FlushMessageLog
// is invoked. Under normal testing, it will invoke FlushMessageLog in
// a situation where its absence would result in different output.
#include "FWCore/Message... |
nistefan/cmssw | Validation/Geometry/src/MaterialBudgetCastorHistos.cc | #include "Validation/Geometry/interface/MaterialBudgetCastorHistos.h"
#include "DetectorDescription/Core/interface/DDFilter.h"
#include "DetectorDescription/Core/interface/DDLogicalPart.h"
#include "DetectorDescription/Core/interface/DDSplit.h"
#include "DetectorDescription/Core/interface/DDValue.h"
#include "FWCore/U... |
nistefan/cmssw | EventFilter/L1TRawToDigi/plugins/implementations_stage2/CaloLayer1Setup.cc | #include "FWCore/Framework/interface/stream/EDProducerBase.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "EventFilter/L1TRawToDigi/plugins/PackerFactory.h"
#include "EventFilter/L1TRawToDigi/plugins/PackingSetupFactory.h"
#include "EventFilter/L1TRawToDigi/plugins/UnpackerFactory.h"
#include "... |
nistefan/cmssw | RecoVertex/VertexTools/src/hsm_3d.cc | #include "RecoVertex/VertexTools/interface/hsm_3d.h"
#include "CommonTools/Statistics/interface/hsm_1d.icc"
#include "RecoVertex/VertexPrimitives/interface/VertexException.h"
#include <iostream>
/// cordinate wise half sample mode in 3d
GlobalPoint hsm_3d ( const std::vector<GlobalPoint> & values )
{
const int sze ... |
nistefan/cmssw | CalibTracker/SiPixelQuality/src/SiPixelDetectorStatus.cc | #include <iostream>
#include <fstream>
#include <map>
#include <cmath>
#include <vector>
#include <TString.h>
#include <TMath.h>
#include <TH1.h>
#include "CalibTracker/SiPixelQuality/interface/SiPixelDetectorStatus.h"
// ----------------------------------------------------------------------
SiPixelDetectorStatus::S... |
nistefan/cmssw | Alignment/Geners/src/ZlibHandle.cc | #include <cassert>
#include "zlib.h"
#include "Alignment/Geners/interface/ZlibHandle.hh"
namespace gs {
ZlibInflateHandle::ZlibInflateHandle()
{
strm_ = new z_stream_s();
strm_->zalloc = Z_NULL;
strm_->zfree = Z_NULL;
strm_->opaque = Z_NULL;
strm_->avail_in = 0;
... |
nistefan/cmssw | CondFormats/Calibration/src/mypt.cc | <gh_stars>1-10
#include "CondFormats/Calibration/interface/mypt.h"
#include <boost/random/linear_congruential.hpp>
#include <boost/random/uniform_int.hpp>
#include <boost/random/variate_generator.hpp>
//#include <iostream>
//typedef boost::minstd_rand base_generator_type;
void mypt::fill(){
//base_generator_type rng(... |
nistefan/cmssw | RecoVertex/KinematicFit/src/SmartPointingConstraint.cc | <gh_stars>1-10
#include "RecoVertex/KinematicFit/interface/SmartPointingConstraint.h"
#include "RecoVertex/VertexPrimitives/interface/VertexException.h"
std::pair<AlgebraicVector, AlgebraicVector> SmartPointingConstraint::value(const AlgebraicVector& exPoint) const
{
if(exPoint.num_row() ==0 ) throw VertexException(... |
nistefan/cmssw | RecoLocalCalo/HcalRecAlgos/src/PedestalSub.cc | <reponame>nistefan/cmssw
#include <iostream>
#include <cmath>
#include <climits>
#include "RecoLocalCalo/HcalRecAlgos/interface/PedestalSub.h"
using namespace std;
PedestalSub::PedestalSub() {
}
PedestalSub::~PedestalSub() {
}
void PedestalSub::calculate(const std::vector<double> & inputCharge, const std::vector<... |
nistefan/cmssw | Alignment/CommonAlignmentProducer/test/TestAccessGeom.cc | <filename>Alignment/CommonAlignmentProducer/test/TestAccessGeom.cc
// -*- C++ -*-
//
// Package: TestAccessGeom
// Class: TestAccessGeom
//
/**\class TestAccessGeom Alignment/CommonAlignmentProducer/test/TestAccessGeom.cc
Description: <one line class summary>
Implementation:
Module accessing tracking geom... |
nistefan/cmssw | Validation/EventGenerator/plugins/BasicHepMCHeavyIonValidation.cc | /*class BasicHepMCHeavyIonValidation
*
* Class to fill dqm monitor elements from existing EDM file
* <NAME> - 04/2013
*/
#include "Validation/EventGenerator/interface/BasicHepMCHeavyIonValidation.h"
#include "CLHEP/Units/defs.h"
#include "CLHEP/Units/PhysicalConstants.h"
#include "Validation/EventGenerator/in... |
nistefan/cmssw | SimTracker/TrackHistory/plugins/JetVetoedTracksAssociatorAtVertex.cc | // \class JetVetoedTracksAssociatorAtVertex JetTracksAssociatorAtVertex.cc
//
// Original Author: <NAME>
// Created: Wed Apr 12 11:12:49 CEST 2006
// Accommodated for Jet Package by: <NAME> Jul. 30, 2007
//
//
#include "DataFormats/Common/interface/EDProductfwd.h"
#include "DataFormats/Common/interface/View.... |
nistefan/cmssw | RecoLuminosity/LumiProducer/src/DataPipe.cc | #include "RecoLuminosity/LumiProducer/interface/DataPipe.h"
lumi::DataPipe::DataPipe( const std::string& dest ):m_dest(dest),m_source(""),m_authpath(""),m_novalidate(false),m_norm(6370.0),m_nocheckingstablebeam(false){
}
void lumi::DataPipe::setNoValidate(){
m_novalidate=true;
}
void lumi::DataPipe::setSource( const ... |
nistefan/cmssw | Alignment/Geners/interface/CPP11_type_traits.hh | #ifndef GENERS_CPP11_TYPE_TRAITS_HH_
#define GENERS_CPP11_TYPE_TRAITS_HH_
#include "Alignment/Geners/interface/CPP11_config.hh"
#ifdef CPP11_STD_AVAILABLE
#include <type_traits>
#define CPP11_is_pod std::is_pod
#define CPP11_is_pointer std::is_pointer
#else
#include <tr1/type_traits>
#define CPP11_is_pod std::tr1::is... |
nistefan/cmssw | GeneratorInterface/GenFilters/src/XtoFFbarFilter.cc | #include "GeneratorInterface/GenFilters/interface/XtoFFbarFilter.h"
using namespace std;
using namespace reco;
XtoFFbarFilter::XtoFFbarFilter(const edm::ParameterSet& iConfig) :
src_(iConfig.getParameter<edm::InputTag>("src")),
idMotherX_(iConfig.getParameter<vector<int> >("idMotherX")),
idDaughterF_(iConfig.ge... |
nistefan/cmssw | DQMOffline/PFTau/plugins/PFMETDQMAnalyzer.cc | <reponame>nistefan/cmssw
#include "DQMOffline/PFTau/plugins/PFMETDQMAnalyzer.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/Event.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Utilities/in... |
nistefan/cmssw | DataFormats/Common/test/MapOfVectors_t.cpp | #include "Utilities/Testing/interface/CppUnit_testdriver.icpp"
#include "cppunit/extensions/HelperMacros.h"
#include "DataFormats/Common/interface/MapOfVectors.h"
#include<vector>
#include<algorithm>
typedef edm::MapOfVectors<int,int> MII;
typedef MII::TheMap TheMap;
class TestMapOfVectors: public CppUnit::TestFix... |
nistefan/cmssw | RecoVertex/BeamSpotProducer/plugins/BeamSpotWrite2DB.cc | /**_________________________________________________________________
class: BeamSpotWrite2DB.cc
package: RecoVertex/BeamSpotProducer
author: <NAME>, Fermilab (<EMAIL>)
________________________________________________________________**/
// C++ standard
#include <string>
// CMS
#include "DataFormats/Be... |
nistefan/cmssw | Utilities/StaticAnalyzers/src/getByChecker.cpp | #include "getByChecker.h"
using namespace clang;
using namespace ento;
using namespace llvm;
namespace clangcms {
class Walker : public clang::StmtVisitor<Walker> {
const CheckerBase *Checker;
clang::ento::BugReporter &BR;
clang::AnalysisDeclContext *AC;
public:
Walker( const CheckerBase *checker, clang::ent... |
nistefan/cmssw | HLTrigger/Egamma/plugins/HLTEgammaDoubleEtDeltaPhiFilter.cc | <reponame>nistefan/cmssw<gh_stars>1-10
/** \class HLTEgammaDoubleEtDeltaPhiFilter
* This filter will require only two HLT photons and
* DeltaPhi between the two photons larger than 2.5
*
* \author <NAME> (PKU)
*
*/
#include "HLTEgammaDoubleEtDeltaPhiFilter.h"
#include "DataFormats/Common/interface/Handle.h"
... |
nistefan/cmssw | RecoParticleFlow/PFClusterTools/src/Deposition.cc | #include "RecoParticleFlow/PFClusterTools/interface/Deposition.h"
using namespace pftools;
Deposition::Deposition(DetectorElementPtr element, double eta, double phi,
double energy, double depth) :
myElementPtr(element), myEta(eta), myPhi(phi), myEnergy(energy),
myDepth(depth) {
}
Deposition::~Deposition() {
}
s... |
nistefan/cmssw | EventFilter/L1TRawToDigi/plugins/OmtfPacker.cc | <gh_stars>1-10
#include <iostream>
#include <iomanip>
#include <bitset>
#include <string>
#include <map>
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/Event.h"
#includ... |
nistefan/cmssw | RecoTracker/TkTrackingRegions/src/OuterHitPhiPrediction.cc | <gh_stars>1-10
#include "OuterHitPhiPrediction.h"
#include "DataFormats/Math/interface/approx_asin.h"
OuterHitPhiPrediction::Range
OuterHitPhiPrediction::sym(float radius) const
{
auto arc = radius*theCurvature.max()*0.5f + theOriginRBound/radius;
auto Phi_r = unsafe_asin07<5>(arc);
return Range( thePhi... |
nistefan/cmssw | IOMC/EventVertexGenerators/src/GaussEvtVtxGenerator.cc | <gh_stars>1-10
#include "IOMC/EventVertexGenerators/interface/GaussEvtVtxGenerator.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "CLHEP/Random/RandGaussQ.h"
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include "CLHEP/Units/GlobalPhysicalConsta... |
nistefan/cmssw | CondTools/Hcal/test/make_HFPhase1PMTParams_dummy.cc | #include <cfloat>
#include "CondTools/Hcal/interface/make_HFPhase1PMTParams.h"
#include "CondFormats/HcalObjects/interface/HcalDetIdTransform.h"
#include "CondFormats/HcalObjects/interface/HcalConstFunctor.h"
std::unique_ptr<HFPhase1PMTParams> make_HFPhase1PMTParams_dummy()
{
// Create "all pass" HFPhase1PMTData... |
nistefan/cmssw | OnlineDB/EcalCondDB/src/EcalCommon.cc | <reponame>nistefan/cmssw
#include <cmath>
#include <stdexcept>
#include "OnlineDB/EcalCondDB/interface/EcalCommon.h"
using namespace std;
int EcalCommon::crystalToTriggerTower(int xtal)
noexcept(false)
{
if (xtal < 1 || xtal > 1700) {
throw(std::runtime_error("ERROR: crystalToTriggerTower: crystal number o... |
nistefan/cmssw | L1Trigger/L1TGlobal/plugins/L1TGlobalSummary.cc | <filename>L1Trigger/L1TGlobal/plugins/L1TGlobalSummary.cc
// L1TGlobalSummary: Use L1TGlobalUtils to print summary of L1TGlobal output
//
// author: <NAME>
//
#include <fstream>
#include <iomanip>
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Pa... |
nistefan/cmssw | CalibCalorimetry/CastorCalib/plugins/CastorPedestalsAnalysis.cc | // Original Author: <NAME>
// Original Author: <NAME> for castor
// Created: Fri May 2 15:34:43 CEST 2008
// Written to replace the combination of HcalPedestalAnalyzer and HcalPedestalAnalysis
// This code runs 1000x faster and produces all outputs from a single run
// (ADC, fC in .txt plus an .xml file)
/... |
nistefan/cmssw | DQM/SiStripCommon/src/APVShot.cc | #include <vector>
#include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
#include "DQM/SiStripCommon/interface/APVShot.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <algorithm>
APVShot::APVShot():
_zs(true), _apv(-1), _nstrips(0), _median(-1), _detid() { }
APVShot::APVShot(const bool zs):
_z... |
nistefan/cmssw | RecoVertex/VertexTools/src/DummyVertexTrackUpdator.cc | <reponame>nistefan/cmssw
#include "RecoVertex/VertexTools/interface/DummyVertexTrackUpdator.h"
template <unsigned int N>
typename CachingVertex<N>::RefCountedVertexTrack
DummyVertexTrackUpdator<N>::update(const CachingVertex<N> & v,
typename CachingVertex<N>::RefCountedVertexTrack t) const
{
return t;
}
templ... |
nistefan/cmssw | TrackingTools/TransientTrack/src/SealModule.cc | #include "FWCore/Utilities/interface/typelookup.h"
#include "TrackingTools/TransientTrack/interface/TransientTrackBuilder.h"
TYPELOOKUP_DATA_REG(TransientTrackBuilder);
|
nistefan/cmssw | JetMETCorrections/InterpolationTables/src/ArrayShape.cc | #include <cassert>
#include "JetMETCorrections/InterpolationTables/interface/NpstatException.h"
#include "JetMETCorrections/InterpolationTables/interface/ArrayShape.h"
namespace npstat {
ArrayShape makeShape()
{
return ArrayShape();
}
ArrayShape makeShape(unsigned i0)
{
return Arr... |
nistefan/cmssw | EventFilter/L1TRawToDigi/plugins/PackerFactory.cc | #include "PackerFactory.h"
#include "FWCore/Utilities/interface/EDMException.h"
EDM_REGISTER_PLUGINFACTORY(l1t::PackerFactoryT,"PackerFactory");
namespace l1t {
const PackerFactory PackerFactory::instance_;
std::shared_ptr<Packer>
PackerFactory::make(const std::string& name) const
{
auto unpacker ... |
nistefan/cmssw | Fireworks/Core/src/fwPaletteExtra.cc | <filename>Fireworks/Core/src/fwPaletteExtra.cc
#include "Fireworks/Core/src/fwPaletteExtra.h"
#include "TROOT.h"
#include "TColor.h"
#include "TMath.h"
namespace fireworks {
//static unsigned int rSize = 17;
struct PaletteExtraTopBottomIndices {
float(* colVals)[3];
bool whiteBg;
FWColorManager::EPalett... |
nistefan/cmssw | DPGAnalysis/Skims/src/TrgMatchMuonProducer.cc | <filename>DPGAnalysis/Skims/src/TrgMatchMuonProducer.cc
#include "DPGAnalysis/Skims/interface/TriggerMatchProducer.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "DataFormats/MuonReco/interface/Muon.h"
typedef TriggerMatchProducer< reco::Muon > trgMatchMuonProducer;
DEFINE_FWK_MODULE( trgMatchMuonProd... |
nistefan/cmssw | CondFormats/SiPixelObjects/src/SiPixelCPEGenericErrorParm.cc | #include "CondFormats/SiPixelObjects/interface/SiPixelCPEGenericErrorParm.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include <fstream>
void SiPixelCPEGenericErrorParm::fillCPEGenericErrorParm(double version, std::string file)
{
//--- Open the file
std::ifstream in(file.c_str(), std::ios::in);
//--- ... |
nistefan/cmssw | RecoTauTag/ImpactParameter/src/Chi2VertexFitter.cc | /* From SimpleFits Package
* Designed an written by
* author: <NAME>
* Humboldt Foundations
*/
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "RecoTauTag/ImpactParameter/interface/Chi2VertexFitter.h"
#include "RecoTauTag/ImpactParameter/interface/ChiSquareFunctionUpdator.h"
#include "Minuit2/Fun... |
nistefan/cmssw | DataFormats/Common/test/exDSTV.cpp | #include "DataFormats/Common/interface/DetSetVectorNew.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <iostream>
#include <functional>
struct T {
float v;
};
typedef edmNew::DetSetVector<T> DSTV;
typedef edmNew::DetSet<T> DST;
typedef DSTV::FastFiller FF;
void print0(DST const & d) {
std::cout <... |
nistefan/cmssw | RecoLuminosity/LumiProducer/src/DIPLumiSummary.cc | #include "RecoLuminosity/LumiProducer/interface/DIPLumiSummary.h"
#include <iomanip>
#include <ostream>
#include <iostream>
bool
DIPLumiSummary::isNull()const{
if(m_runnum==0 && m_ls==0){
return true;
}
return false;
}
float
DIPLumiSummary::instDelLumi() const{
return m_instlumi;
}
float
DIPLumiSummary:... |
nistefan/cmssw | RecoVertex/KinematicFit/src/MomentumKinematicConstraint.cc | <reponame>nistefan/cmssw<filename>RecoVertex/KinematicFit/src/MomentumKinematicConstraint.cc
#include "RecoVertex/KinematicFit/interface/MomentumKinematicConstraint.h"
#include "RecoVertex/VertexPrimitives/interface/VertexException.h"
MomentumKinematicConstraint::MomentumKinematicConstraint(const AlgebraicVector& mom... |
nistefan/cmssw | CondTools/DT/test/validate/DTPerformanceValidateDBRead.cc | <gh_stars>1-10
/*----------------------------------------------------------------------
Toy EDAnalyzer for testing purposes only.
----------------------------------------------------------------------*/
#include <math.h>
#include <stdexcept>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream... |
nistefan/cmssw | FWCore/MessageService/test/UnitTestClient_Hd.cc | #define EDM_ML_DEBUG
#include "FWCore/MessageService/test/UnitTestClient_Hd.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include <iostream>
#include <string>
namespace edmtest
{
void
UnitTestClient_Hd::analyze( edm::Event const & /*unused*... |
nistefan/cmssw | Calibration/HcalAlCaRecoProducers/src/AlCaDiJetsProducer.cc | // system include files
#include <memory>
#include <string>
// user include files
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interf... |
nistefan/cmssw | RecoLocalMuon/DTSegment/test/DTEffAnalyzer.cc | <reponame>nistefan/cmssw
/******* \class DTEffAnalyzer *******
*
* Description:
*
* detailed description
*
* \author : <NAME> - INFN LNL <<EMAIL>>
*
* Modification:
*
*********************************/
/* This Class Header */
#include "RecoLocalMuon/DTSegment/test/DTEffAnalyzer.h"
/* Collaborating Class ... |
nistefan/cmssw | CondFormats/L1TObjects/src/L1TUtmCondition.cc | // auto-generated file by import_utm.pl
#include "CondFormats/L1TObjects/interface/L1TUtmCondition.h"
|
nistefan/cmssw | RecoParticleFlow/PFTracking/src/PFDisplacedVertexCandidateFinder.cc | #include "RecoParticleFlow/PFTracking/interface/PFDisplacedVertexCandidateFinder.h"
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "MagneticField/Engine/interface/MagneticField.h"
using na... |
nistefan/cmssw | DQM/EcalMonitorClient/src/TrigPrimClient.cc | #include "DQM/EcalMonitorClient/interface/TrigPrimClient.h"
#include "DQM/EcalCommon/interface/EcalDQMCommonUtils.h"
#include "DQM/EcalCommon/interface/MESetNonObject.h"
#include "CondFormats/EcalObjects/interface/EcalDQMStatusHelper.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include <cmath>
names... |
nistefan/cmssw | DQM/L1TMonitor/src/BxTiming.cc | <reponame>nistefan/cmssw<gh_stars>1-10
#include "DQM/L1TMonitor/interface/BxTiming.h"
#include <cstdio>
BxTiming::BxTiming(const edm::ParameterSet& iConfig) {
verbose_ = iConfig.getUntrackedParameter<int>("VerboseFlag",0);
if(verbose())
std::cout << "BxTiming::BxTiming()...\n" << std::flush;
fedRef_ = iCon... |
nistefan/cmssw | RecoPixelVertexing/PixelLowPtUtilities/src/TrackHitsFilterFactory.cc | #include "RecoPixelVertexing/PixelLowPtUtilities/interface/TrackHitsFilterFactory.h"
#include "FWCore/PluginManager/interface/PluginFactory.h"
EDM_REGISTER_PLUGINFACTORY(TrackHitsFilterFactory,"TrackHitsFilterFactory");
|
nistefan/cmssw | Geometry/HcalEventSetup/src/HcalAlignmentEP.cc | <filename>Geometry/HcalEventSetup/src/HcalAlignmentEP.cc
// -*- C++ -*-
//
// Package: HcalAlignmentEP
// Class: HcalAlignmentEP
//
//
// Original Author: <NAME>
//
//
#include "Geometry/HcalEventSetup/interface/HcalAlignmentEP.h"
HcalAlignmentEP::HcalAlignmentEP(const edm::ParameterSet&) {
setWhatProduce... |
nistefan/cmssw | CondFormats/EcalObjects/src/EcalTBWeights.cc | /**
* Author: <NAME>, University of Rome & INFN
* Created: 22 Feb 2006
* $Id: EcalTBWeights.cc,v 1.3 2006/02/23 16:56:35 rahatlou Exp $
**/
#include "CondFormats/EcalObjects/interface/EcalTBWeights.h"
//
// defualt ctor creates vectors of length EBDataFrame::MAXSAMPLES==10
//
EcalTBWeights::EcalTBWeights() {
}
E... |
nistefan/cmssw | FWCore/Framework/src/EventSelector.cc | // Change Log
//
// 1 - <NAME> 2/8/08 Enable partial wildcards, as in HLT* or !CAL*
// A version of this code with cerr debugging traces has
// been placed in the doc area.
// See ../doc/EventSelector-behavior.doc for details of
// reactions to Ready or Exception states.
// 1a <NAME> 2/13/08 Clear the all_... |
nistefan/cmssw | RecoEgamma/EgammaIsolationAlgos/src/EgammaHadTower.cc | <filename>RecoEgamma/EgammaIsolationAlgos/src/EgammaHadTower.cc<gh_stars>1-10
#include "RecoEgamma/EgammaIsolationAlgos/interface/EgammaHadTower.h"
#include "Geometry/CaloEventSetup/interface/CaloTopologyRecord.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "DataFormats/EcalDetId/interface/EcalSubdetector... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.