repo_name stringlengths 6 97 | path stringlengths 3 341 | text stringlengths 8 1.02M |
|---|---|---|
nistefan/cmssw | L1Trigger/L1TMuon/src/GMTInternalMuon.cc | #include "L1Trigger/L1TMuon/interface/GMTInternalMuon.h"
#include "L1Trigger/L1TMuon/interface/MicroGMTConfiguration.h"
namespace l1t {
GMTInternalMuon::GMTInternalMuon(const GMTInternalMuon& other) :
m_regional(other.m_regional), m_hwRank(other.m_hwRank), m_hwCancelBit(other.m_hwCancelBit), m_hwIsoSum(other.m_hwI... |
nistefan/cmssw | FastSimulation/TrackerSetup/plugins/TrackerInteractionGeometryESProducer.cc | #include "FastSimulation/TrackerSetup/plugins/TrackerInteractionGeometryESProducer.h"
#include "RecoTracker/Record/interface/TrackerRecoGeometryRecord.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/ModuleFactory.h"
#include <memory>
TrackerInteractionGeometryESProducer::Trac... |
nistefan/cmssw | DetectorDescription/RegressionTest/test/algorithm_plugin_test.cpp | <reponame>nistefan/cmssw
#include <iostream>
#include <string>
#include "DetectorDescription/Core/interface/DDAlgorithm.h"
#include "DetectorDescription/Core/interface/DDAlgorithmFactory.h"
#include "DetectorDescription/Core/interface/DDCompactView.h"
#include "FWCore/PluginManager/interface/PluginFactory.h"
#include ... |
nistefan/cmssw | DQM/SiPixelCommon/src/SiPixelFolderOrganizer.cc | <reponame>nistefan/cmssw<filename>DQM/SiPixelCommon/src/SiPixelFolderOrganizer.cc
/// DQM and Framework services
#include "DQM/SiPixelCommon/interface/SiPixelFolderOrganizer.h"
//#include "DQMServices/Core/interface/DQMStore.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/Utilities/interface/E... |
nistefan/cmssw | CondTools/L1TriggerExt/plugins/L1TriggerKeyDummyProdExt.cc | #include "CondTools/L1TriggerExt/plugins/L1TriggerKeyDummyProdExt.h"
L1TriggerKeyDummyProdExt::L1TriggerKeyDummyProdExt(const edm::ParameterSet& iConfig)
{
//the following line is needed to tell the framework what
// data is being produced
// Label should be empty, "SubsystemKeysOnly" or any subsystem label e... |
nistefan/cmssw | CalibMuon/CSCCalibration/test/stubs/CSCFakeGainsPopConAnalyzer.cc | <reponame>nistefan/cmssw
#include "CondCore/PopCon/interface/PopConAnalyzer.h"
#include "CSCFakeDBGainsHandler.h"
#include "FWCore/Framework/interface/MakerMacros.h"
typedef popcon::PopConAnalyzer<popcon::CSCFakeDBGainsImpl> CSCFakeGainsPopConAnalyzer;
DEFINE_FWK_MODULE(CSCFakeGainsPopConAnalyzer);
|
nistefan/cmssw | Alignment/Geners/interface/streamposIO.hh | <gh_stars>1-10
//=========================================================================
// streamposIO.hh
//
// Specialize read_pod and write_pod so that they also
// work with std::streampos.
//
// The code for storing the stream offset is necessarily
// going to be implementation-dependent. The C++ standard
// doe... |
nistefan/cmssw | PhysicsTools/PatExamples/plugins/PatTriggerTagAndProbe.cc | #include <map>
#include <string>
#include "TH1D.h"
#include "TH2D.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/ParameterSet/interface/ParameterS... |
nistefan/cmssw | CondCore/CondDB/src/PayloadProxy.cc | #include "CondCore/CondDB/interface/PayloadProxy.h"
namespace cond {
namespace persistency {
BasePayloadProxy::BasePayloadProxy() :
m_iovProxy(),m_session() {
}
BasePayloadProxy::~BasePayloadProxy(){}
void BasePayloadProxy::setUp( Session dbSession ){
m_session = dbSession;
inva... |
nistefan/cmssw | EventFilter/Utilities/plugins/EvFFEDSelector.cc | <reponame>nistefan/cmssw<filename>EventFilter/Utilities/plugins/EvFFEDSelector.cc
#include <memory>
#include "EvFFEDSelector.h"
#include <FWCore/ParameterSet/interface/ConfigurationDescriptions.h>
#include <FWCore/ParameterSet/interface/ParameterSetDescription.h>
namespace evf {
EvFFEDSelector::EvFFEDSelector(edm... |
nistefan/cmssw | Alignment/LaserAlignmentSimulation/src/LaserSteppingAction.cc | <filename>Alignment/LaserAlignmentSimulation/src/LaserSteppingAction.cc
/** \file LaserSteppingAction.cc
*
*
* $Date: 2007/06/11 14:44:29 $
* $Revision: 1.3 $
* \author <NAME>
*/
#include "Alignment/LaserAlignmentSimulation/interface/LaserSteppingAction.h"
#include "G4ParticleTypes.hh"
#include "FWCore/Me... |
nistefan/cmssw | RecoMET/METAlgorithms/src/GenSpecificAlgo.cc | <reponame>nistefan/cmssw<filename>RecoMET/METAlgorithms/src/GenSpecificAlgo.cc
// -*- C++ -*-
//
// Package: METAlgorithms
// Class: GenSpecificAlgo
//
// Original Authors: <NAME> (taken from F.Ratnikov, UMd)
// Created: June 6, 2006
//
//
//__________________________________________________________... |
nistefan/cmssw | RecoMuon/GlobalTrackingTools/src/StateSegmentMatcher.cc | /**
* Class: StateSegmentMatcher, Tsos4D, Tsos2DPhi, Tsos2DZed
*
* Description:
* utility classes for the dynamical truncation algorithm
*
* Authors :
* <NAME> & <NAME> - UCL Louvain
*
**/
#include "RecoMuon/GlobalTrackingTools/interface/StateSegmentMatcher.h"
using namespace std;
StateSegmentMatcher... |
nistefan/cmssw | RecoLocalCalo/CaloTowersCreator/src/HcalMaterials.cc | #include <iostream>
#include "RecoLocalCalo/CaloTowersCreator/interface/HcalMaterials.h"
HcalMaterials::HcalMaterials() {}
HcalMaterials::~HcalMaterials(){}
float HcalMaterials::getValue (DetId fId, float energy) {
// a real function should be added
float value = 0.;
for(unsigned int iItem=0; iItem<mItems.siz... |
nistefan/cmssw | FWCore/MessageLogger/src/ELseverityLevel.cc | // ----------------------------------------------------------------------
//
// ELseverityLevel.cc - implement objects that encode a message's urgency
//
// Both frameworker and user will often pass one of the
// instantiated severity levels to logger methods.
//
// The only other methods of ELseverityLe... |
nistefan/cmssw | FWCore/Framework/test/stubs/LoadableDummyProvider.cc | // -*- C++ -*-
//
// Package: test
// Class : LoadableDummyProvider
//
// Implementation:
// <Notes on implementation>
//
// Author: <NAME>
// Created: Thu May 26 13:48:03 EDT 2005
//
// system include files
// user include files
#include "FWCore/Framework/test/DummyProxyProvider.h"
#include "... |
nistefan/cmssw | RecoBTag/PerformanceDB/bin/TestPerformanceFWLite_ES.cc | <gh_stars>1-10
#include <vector>
#include <iostream>
#include "TFile.h"
#include "TTree.h"
#include "FWCore/FWLite/interface/FWLiteEnabler.h"
#include "PhysicsTools/CondLiteIO/interface/RecordWriter.h"
#include "DataFormats/FWLite/interface/Record.h"
#include "DataFormats/FWLite/interface/EventSetup.h"
#i... |
nistefan/cmssw | RecoMuon/MuonSeedGenerator/test/MuonSeedPTAnalysis/SegSelector.cc | // Class Header
#include "SegSelector.h"
// Framework
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
//#include "PluginManager/ModuleDef.h"
#include "FWCo... |
nistefan/cmssw | Alignment/CommonAlignmentProducer/plugins/AlignmentCSCTrackSelectorModule.cc |
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "CommonTools/UtilAlgos/interface/ObjectSelectorStream.h"
//the selectores used to select the tracks
#include "Alignment/CommonAlignmentProducer/interface/AlignmentCSCTrackSelector.h"
#include "Alignm... |
nistefan/cmssw | DataFormats/SiPixelDigi/src/SiPixelCalibDigiError.cc | <filename>DataFormats/SiPixelDigi/src/SiPixelCalibDigiError.cc
#include "DataFormats/SiPixelDigi/interface/SiPixelCalibDigiError.h"
std::string SiPixelCalibDigiError::printError() const
{
std::string result = "unknown error";
switch (fErrorType) {
case(1):{
result="arrived at unexpected pattern.";
break... |
nistefan/cmssw | GeneratorInterface/GenFilters/src/SealModule.cc | #include "FWCore/Framework/interface/InputSourceMacros.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "GeneratorInterface/GenFilters/interface/PythiaFilter.h"
#include "GeneratorInterface/GenFilters/interface/PythiaFilterHT.h"
#include "GeneratorInterface/GenFilters/interface/PythiaFilterMultiMother.h"... |
nistefan/cmssw | RecoTracker/SpecialSeedGenerators/src/GenericPairGenerator.cc | <reponame>nistefan/cmssw
#include "RecoTracker/SpecialSeedGenerators/interface/GenericPairGenerator.h"
//#include "RecoTracker/TkSeedingLayers/interface/SeedingLayerSetsBuilder.h"
typedef SeedingHitSet::ConstRecHitPointer SeedingHit;
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "FWCore/MessageLog... |
nistefan/cmssw | RecoPixelVertexing/PixelTriplets/plugins/ThirdHitPredictionFromInvLine.cc | <gh_stars>1-10
#include "ThirdHitPredictionFromInvLine.h"
#include <cmath>
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "RecoTracker/TkMSParametrization/interface/PixelRecoUtilities.h"
#include "RecoTracker/TkMSParametrization/in... |
nistefan/cmssw | AnalysisDataFormats/TopObjects/src/TtDilepEvtSolution.cc | //
//
#include "DataFormats/Math/interface/deltaR.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "AnalysisDataFormats/TopObjects/interface/TtDilepEvtSolution.h"
TtDilepEvtSolution::TtDilepEvtSolution()
{
jetCorrScheme_ = 0;
wpDecay_ = "NotDefined";
wmDecay_ = "NotDefined";
bestSol_ = f... |
nistefan/cmssw | TrackingTools/KalmanUpdators/src/KFSwitching1DUpdator.cc | <gh_stars>1-10
#include "TrackingTools/KalmanUpdators/interface/KFSwitching1DUpdator.h"
#include "TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h"
#include "Geometry/CommonDetUnit/interface/GeomDetType.h"
#include "Geometry/CommonDetUnit/interface/GeomDet.h"
TrajectoryStateOnSurface
KFSwitchi... |
nistefan/cmssw | RecoEgamma/EgammaTools/src/EcalClusterLocal.cc | #include "RecoEgamma/EgammaTools/interface/EcalClusterLocal.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "Geometry/Records/interface/CaloGeometryRecord.h"
#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
#include "Geometry/CaloGeometry/interfa... |
nistefan/cmssw | Calibration/HcalCalibAlgos/test/DiJetAnalyzer.cc | <reponame>nistefan/cmssw
//
// DiJetAnalyzer.cc
//
// description: Create an ntuple necessary for dijet balance calibration for the HCAL
//
#include "DiJetAnalyzer.h"
DiJetAnalyzer::DiJetAnalyzer(const edm::ParameterSet& iConfig)
{
// set parameters
pfJetCollName_ = iConfig.getParameter<std::string>("pfJetC... |
nistefan/cmssw | SimTracker/VertexAssociation/test/testVertexAssociator.cc | #include "FWCore/Framework/interface/ESHandle.h"
#include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
#include "MagneticField/Engine/interface/MagneticField.h"
#include "SimTracker/VertexAssociation/test/testVertexAssociator.h"
#include "SimTracker/Records/interface/TrackAssociatorRecord.h"
#include "... |
nistefan/cmssw | RecoParticleFlow/PFClusterTools/plugins/CalibratableTest.cc | <gh_stars>1-10
#include "RecoParticleFlow/PFClusterTools/interface/CalibratableTest.h"
#include "DataFormats/ParticleFlowReco/interface/PFSimParticle.h"
#include "DataFormats/ParticleFlowReco/interface/PFSimParticleFwd.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHit.h"
#include "DataFormats/ParticleFlowRec... |
nistefan/cmssw | RecoTracker/ConversionSeedGenerators/plugins/PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo.cc | <gh_stars>0
#include "PhotonConversionTrajectorySeedProducerFromQuadrupletsAlgo.h"
#include "Quad.h"
#include "FWCore/Utilities/interface/Exception.h"
// ClusterShapeIncludes:::
#include "RecoTracker/TkTrackingRegions/interface/OrderedHitsGenerator.h"
#include "RecoTracker/TkTrackingRegions/interface/TrackingRegion.h"
... |
nistefan/cmssw | FastSimulation/CaloGeometryTools/src/CaloSegment.cc | <filename>FastSimulation/CaloGeometryTools/src/CaloSegment.cc
//FAMOS headers
#include "FastSimulation/CaloGeometryTools/interface/CaloSegment.h"
#include "FastSimulation/CaloGeometryTools/interface/CaloGeometryHelper.h"
#include "FastSimulation/CalorimeterProperties/interface/PreshowerLayer1Properties.h"
#include "Fas... |
nistefan/cmssw | DetectorDescription/Core/src/DDString.cc | <reponame>nistefan/cmssw
#include "DetectorDescription/Core/interface/DDString.h"
#include <utility>
#include "DetectorDescription/Core/interface/Store.h"
DDString::DDString() : DDBase<DDName,std::string*>() { }
DDString::DDString(const DDName & name) : DDBase<DDName,std::string*>()
{
prep_ = StoreT::instance().... |
nistefan/cmssw | Calibration/Tools/src/Pi0CalibXMLwriter.cc | <reponame>nistefan/cmssw<filename>Calibration/Tools/src/Pi0CalibXMLwriter.cc
#include "Calibration/Tools/interface/Pi0CalibXMLwriter.h"
#include <string>
#include <cstdio>
Pi0CalibXMLwriter::Pi0CalibXMLwriter(EcalSubdetector subdet) : subdet_(subdet)
{
char filename[128];
if (subdet_==EcalEndcap) {
... |
nistefan/cmssw | Geometry/EcalTestBeam/src/EcalHodoscopeNumberingScheme.cc | <reponame>nistefan/cmssw
///////////////////////////////////////////////////////////////////////////////
// File: EcalHodoscopeNumberingScheme.cc
// Description: Numbering scheme for TB H4 hodoscope detector
///////////////////////////////////////////////////////////////////////////////
#include "Geometry/EcalTestBeam... |
nistefan/cmssw | CondTools/DT/plugins/DTTPGParametersPopConAnalyzer.cc | <filename>CondTools/DT/plugins/DTTPGParametersPopConAnalyzer.cc
#include "CondCore/PopCon/interface/PopConAnalyzer.h"
#include "CondTools/DT/interface/DTTPGParametersHandler.h"
#include "FWCore/Framework/interface/MakerMacros.h"
typedef popcon::PopConAnalyzer<DTTPGParametersHandler> DTTPGParametersPopConAnalyzer;
DE... |
nistefan/cmssw | L1Trigger/L1TMuonEndCap/test/tools/MakeAngleLUT.cc | //!
//! This piece of code is obsolete and completely unused. It is kept as an
//! example to show how to access certain geometry information.
//!
#include <cassert>
#include <cmath>
#include <memory>
#include <vector>
#include <fstream>
#include <iostream>
#include "TFile.h"
#include "TTree.h"
#include "FWCore/Fram... |
nistefan/cmssw | CondFormats/DataRecord/src/L1MuCSCTFAlignment.cc | #include "CondFormats/DataRecord/interface/L1MuCSCTFAlignmentRcd.h"
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h"
EVENTSETUP_RECORD_REG(L1MuCSCTFAlignmentRcd);
|
nistefan/cmssw | FWCore/Utilities/src/FunctionWithDict.cc | <reponame>nistefan/cmssw
#include "FWCore/Utilities/interface/FunctionWithDict.h"
#include "FWCore/Utilities/interface/IterWithDict.h"
#include "FWCore/Utilities/interface/ObjectWithDict.h"
#include "FWCore/Utilities/interface/TypeWithDict.h"
#include "TMethod.h"
#include "TMethodArg.h"
#include "TMethodCall.h"
#inc... |
nistefan/cmssw | RecoBTag/SecondaryVertex/src/TemplatedSecondaryVertex.cc | #include <cmath>
#include <Math/Functions.h>
#include <Math/SVector.h>
#include <Math/SMatrix.h>
#include "DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h"
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/Candidate/in... |
nistefan/cmssw | HLTrigger/HLTcore/src/HLTConfigData.cc | /** \class HLTConfigData
*
* See header file for documentation
*
*
* \author <NAME>
*
*/
#include "HLTrigger/HLTcore/interface/HLTConfigData.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
//Using this function with the 'const static within s_dummyPSet'
// guarantees that eve... |
nistefan/cmssw | TrackingTools/AnalyticalJacobians/src/JacobianLocalToCartesian.cc | <reponame>nistefan/cmssw<gh_stars>1-10
#include "TrackingTools/AnalyticalJacobians/interface/JacobianLocalToCartesian.h"
#include "DataFormats/GeometrySurface/interface/Surface.h"
#include "DataFormats/TrajectoryState/interface/LocalTrajectoryParameters.h"
JacobianLocalToCartesian::JacobianLocalToCartesian(const Surfa... |
nistefan/cmssw | HLTrigger/HLTcore/src/HLTConfigProvider.cc | /** \class HLTConfigProvider
*
* See header file for documentation
*
*
* \author <NAME>
*
*/
#include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
#include "HLTrigger/HLTcore/interface/HLTConfigDataRegistry.h"
#include "FWCore/Utilities/interface/RegexMatch.h"
#include "FWCore/Utilities/interface/ThreadSa... |
nistefan/cmssw | CondFormats/L1TObjects/src/L1GtCondition.cc | <reponame>nistefan/cmssw<filename>CondFormats/L1TObjects/src/L1GtCondition.cc
/**
* \class L1GtCondition
*
*
* Description: base class for L1 Global Trigger object templates (condition).
*
* Implementation:
* <TODO: enter implementation details>
*
* \author: <NAME> - HEPHY Vienna
*
* $Date$
* $Revision$
... |
nistefan/cmssw | CaloOnlineTools/HcalOnlineDb/src/ConnectionManager.cc | <filename>CaloOnlineTools/HcalOnlineDb/src/ConnectionManager.cc
#include <cstring>
#include <cstdio>
#include "OnlineDB/Oracle/interface/Oracle.h"
#include "CaloOnlineTools/HcalOnlineDb/interface/ConnectionManager.h"
#include <cctype>
ConnectionManager::ConnectionManager() : env(nullptr), conn(nullptr) {
}
static c... |
nistefan/cmssw | CaloOnlineTools/HcalOnlineDb/interface/PluginManager.hh | #ifndef PluginManager_hh_included
#define PluginManager_hh_included 1
#include <map>
#include <string>
#include <vector>
namespace hcal {
/** \brief Base class for classes to be managed by the PluginManager.
This class is provided to enable appropriate use of the dynamic_cast<> operator and
to defince ... |
nistefan/cmssw | Alignment/CommonAlignmentProducer/test/GlobalPositionRcdRead.cpp | #include <string>
#include <map>
#include <vector>
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "CondFormats/Alignment/interface/Alignments.h"
#include ... |
nistefan/cmssw | EventFilter/L1TRawToDigi/plugins/implementations_stage1/MissHtUnpacker.cc | <reponame>nistefan/cmssw
#include "FWCore/Framework/interface/MakerMacros.h"
#include "EventFilter/L1TRawToDigi/plugins/UnpackerFactory.h"
#include "CaloCollections.h"
#include "MissHtUnpacker.h"
namespace l1t {
namespace stage1 {
bool
MissHtUnpacker::unpack(const Block& block, UnpackerCollections *coll)
... |
nistefan/cmssw | RecoParticleFlow/PFProducer/src/KDTreeLinkerBase.cc | <gh_stars>1-10
#include "RecoParticleFlow/PFProducer/interface/KDTreeLinkerBase.h"
EDM_REGISTER_PLUGINFACTORY(KDTreeLinkerFactory,"KDTreeLinkerFactory");
KDTreeLinkerBase::KDTreeLinkerBase()
: cristalPhiEtaMaxSize_ (0.04),
cristalXYMaxSize_ (3.),
phiOffset_ (0.25),
debug_ (false)
{
}
KDTreeLinkerBase::... |
nistefan/cmssw | DQMOffline/CalibTracker/plugins/GenericPopConHistoryDQM.cc | <gh_stars>1-10
#include "DQMOffline/CalibTracker/plugins/SiStripPopConHistoryDQMBase.h"
/**
@author <NAME>
@EDAnalyzer to read DQM root file & insert summary informations to DB
*/
class GenericHistoryDQM : public SiStripPopConHistoryDQMBase {
public:
explicit GenericHistoryDQM(const edm::ParameterSet& iConfig)
... |
nistefan/cmssw | DataFormats/Math/test/arc.cpp | <reponame>nistefan/cmssw<gh_stars>1-10
#include<cmath>
#include "DataFormats/Math/interface/approx_asin.h"
// 2asin(cd/2)/c
float arc(float c, float d) {
float z = 0.5f*c*d; z*=z;
float x = d;
return (((( 4.2163199048E-2f * z
+ 2.4181311049E-2f) * z
+ 4.5470025998E-2f) * z
... |
nistefan/cmssw | RecoEgamma/ElectronIdentification/plugins/cuts/GsfEleConversionVetoCut.cc | #include "PhysicsTools/SelectorUtils/interface/CutApplicatorWithEventContentBase.h"
#include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
#include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
#include "DataFormats/EgammaCandidates/interface/Conversion.h"
#include "RecoEgamma/EgammaTools/interface/... |
nistefan/cmssw | MagneticField/Interpolation/src/RectangularCartesianMFGrid.cc | <reponame>nistefan/cmssw
#include "RectangularCartesianMFGrid.h"
#include "binary_ifstream.h"
#include "LinearGridInterpolator3D.h"
#include <iostream>
using namespace std;
RectangularCartesianMFGrid::RectangularCartesianMFGrid( binary_ifstream& inFile,
const GloballyPositioned<float>& vol)
: MFGrid3D(vol)
... |
nistefan/cmssw | Alignment/LaserDQM/plugins/LaserDQMInitMonitors.cc | /** \file LaserDQMInitMonitors.cc
* Initialisation of the DQM Monitors
*
* $Date: 2007/12/04 23:54:44 $
* $Revision: 1.3 $
* \author <NAME>
*/
#include "Alignment/LaserDQM/plugins/LaserDQM.h"
void LaserDQM::initMonitors()
{
/* LaserBeams in the TEC+ */
// ----- Adc counts for Beam 0 in Ring 4
theDaqM... |
nistefan/cmssw | Validation/RecoTau/plugins/ObjectViewCleaner.cc | /*****************************************************************************
* Project: CMS detector at the CERN
*
* Package: Validation/RecoTau
*
* Description:
* - Cleans a given object collection of other
* cross-object candidates using deltaR-matching.
* - For example: can clean a muon collection ... |
nistefan/cmssw | Alignment/CocoaModel/src/LightRay.cc | <reponame>nistefan/cmssw
// COCOA class implementation file
//Id: LightRay.cc
//CAT: Fit
//
// History: v1.0
// <NAME>
#include "Alignment/CocoaModel/interface/LightRay.h"
#include "Alignment/CocoaModel/interface/ALIPlane.h"
#include "Alignment/CocoaUtilities/interface/ALIUtils.h"
#include "Alignment/CocoaModel... |
nistefan/cmssw | DataFormats/HcalDigi/src/CastorTriggerPrimitiveDigi.cc | #include "DataFormats/HcalDigi/interface/CastorTriggerPrimitiveDigi.h"
CastorTriggerPrimitiveDigi::CastorTriggerPrimitiveDigi() : size_(0), hcalPresamples_(0) {
}
CastorTriggerPrimitiveDigi::CastorTriggerPrimitiveDigi(const HcalCastorDetId& id) : id_(id),
size_(0), hcalPresamples_(0) {
}
void CastorTr... |
nistefan/cmssw | CalibCalorimetry/EcalLaserAnalyzer/src/TFParams.cc | <filename>CalibCalorimetry/EcalLaserAnalyzer/src/TFParams.cc
/** This routine is used to fit the signal line
shape of CMS barrel calorimeter
The method used is the one described in note LPC 84-30 (Billoir 1984) :
"Methode d'ajustement dans un probleme a parametrisation hierarchisee"
First we read the dat... |
nistefan/cmssw | RecoHI/HiEvtPlaneAlgos/src/EvtPlaneProducer.cc | // -*- C++ -*-
//
// Package: EvtPlaneProducer
// Class: EvtPlaneProducer
//
/**\class EvtPlaneProducer EvtPlaneProducer.cc RecoHI/EvtPlaneProducer/src/EvtPlaneProducer.cc
Description: <one line class summary>
Implementation:
<Notes on implementation>
*/
//
// Original Author: <NAME>
// Created: ... |
nistefan/cmssw | RecoTracker/TkDetLayers/src/DetGroupMerger.cc | #include "DetGroupMerger.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
using namespace std;
void
DetGroupMerger::orderAndMergeTwoLevels( vector<DetGroup>&& one,
vector<DetGroup>&& two,
std::vector<DetGroup>& result,
int firstIndex,
int firstCrossed) {
if (one.empty() && two.em... |
nistefan/cmssw | CalibMuon/CSCCalibration/plugins/CSCFakeDBGains.cc | <filename>CalibMuon/CSCCalibration/plugins/CSCFakeDBGains.cc
#include "CalibMuon/CSCCalibration/interface/CSCFakeDBGains.h"
#include "CondFormats/CSCObjects/interface/CSCDBGains.h"
#include "CondFormats/DataRecord/interface/CSCDBGainsRcd.h"
#include "CalibMuon/CSCCalibration/interface/CSCGainsDBConditions.h"
CSCFakeDB... |
nistefan/cmssw | EventFilter/CastorRawToDigi/src/CastorRawCollections.cc | <filename>EventFilter/CastorRawToDigi/src/CastorRawCollections.cc
#include "EventFilter/CastorRawToDigi/interface/CastorRawCollections.h"
CastorRawCollections::CastorRawCollections() {
castorCont=nullptr;
zdcCont=nullptr;
tpCont=nullptr;
calibCont=nullptr;
ttp=nullptr;
}
CastorRawCollections::~CastorRawColle... |
nistefan/cmssw | DQM/SiStripMonitorHardware/src/SiStripFEDSpyBuffer.cc | #include "DQM/SiStripMonitorHardware/interface/SiStripFEDSpyBuffer.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
namespace sistrip {
const uint8_t FEDSpyBuffer::channelPositionsInData_[FEDCH_PER_DELAY_CHIP] = { 0, 3, 2, 1 };
FEDSpyBuffer::FEDSpyBuffer(const uint8_t* fedBuffer, const size_t fed... |
nistefan/cmssw | DetectorDescription/Parser/src/DDLPseudoTrap.cc | <reponame>nistefan/cmssw
#include "DetectorDescription/Parser/src/DDLPseudoTrap.h"
#include "DetectorDescription/Core/interface/DDSolid.h"
#include "DetectorDescription/Core/interface/ClhepEvaluator.h"
#include "DetectorDescription/Parser/interface/DDLElementRegistry.h"
#include "DetectorDescription/Parser/src/DDLSolid... |
nistefan/cmssw | Utilities/DavixAdaptor/test/davixreadfilenotfound.cpp | <gh_stars>1-10
#include "FWCore/Utilities/interface/Exception.h"
#include "Utilities/StorageFactory/interface/Storage.h"
#include "Utilities/StorageFactory/test/Test.h"
#include <cassert>
int main(int, char ** /*argv*/) try {
initTest();
char buf[1024];
std::unique_ptr<Storage> s = StorageFactory::get()->open(
... |
nistefan/cmssw | PhysicsTools/TensorFlow/src/TensorFlow.cc | /*
* TensorFlow interface helpers.
* Based on TensorFlow C++ API 1.3.
* For more info, see https://gitlab.cern.ch/mrieger/CMSSW-DNN.
*
* Author: <NAME>
*/
#include "PhysicsTools/TensorFlow/interface/TensorFlow.h"
namespace tensorflow
{
void setLogging(const std::string& level)
{
setenv("TF_CPP_MIN_LOG_LEVE... |
nistefan/cmssw | CalibCalorimetry/HcalAlgos/src/HBHERecalibration.cc | <reponame>nistefan/cmssw<gh_stars>1-10
#include "CalibCalorimetry/HcalAlgos/interface/HBHERecalibration.h"
#include <vector>
#include <cmath>
//reuse parsing function to read mean energy table
HBHERecalibration::HBHERecalibration(float intlumi, float cutoff, std::string meanenergies) :
intlumi_(intlumi), cuto... |
nistefan/cmssw | RecoLocalCalo/HcalRecAlgos/src/fetchHcalAlgoData.cc | #include "RecoLocalCalo/HcalRecAlgos/interface/fetchHcalAlgoData.h"
#include "FWCore/Framework/interface/ESHandle.h"
// Includes for AbsHcalAlgoData descendants
// and their corresponding records
#include "CondFormats/HcalObjects/interface/HFPhase1PMTParams.h"
#include "CondFormats/DataRecord/interface/HFPhase1PMTPara... |
nistefan/cmssw | SimCalorimetry/HcalTestBeam/src/HcalTBSimParameterMap.cc | #include "SimCalorimetry/HcalTestBeam/interface/HcalTBSimParameterMap.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
HcalTBSimParameterMap::HcalTBSimParameterMap() :
theHBParameters(2000., 117, 5... |
nistefan/cmssw | EventFilter/CSCRawToDigi/plugins/CSCViewDigi.cc | <gh_stars>1-10
/**
Location: EventFilter/CSCRawToDigi/plugins/CSCViewDigi.cc
*/
// Original Author: <NAME>
// Created: Sun May 10 15:43:28 CEST 2009
#include "EventFilter/CSCRawToDigi/interface/CSCViewDigi.h"
#include <iostream>
CSCViewDigi::CSCViewDigi(const edm::ParameterSet& conf)
{
wd_token = con... |
nistefan/cmssw | Alignment/Geners/interface/IOIsExternal.hh | <reponame>nistefan/cmssw
#ifndef GENERS_IOISEXTERNAL_HH_
#define GENERS_IOISEXTERNAL_HH_
namespace gs {
template <class T>
struct IOIsExternal
{
enum {value = 0};
};
}
// Use the following macro (outside of any namespace)
// to declare some type as external for I/O purposes
//
#define gs_decla... |
nistefan/cmssw | MuonAnalysis/MuonAssociators/plugins/TriggerMatcherToHLTDebug.cc | <filename>MuonAnalysis/MuonAssociators/plugins/TriggerMatcherToHLTDebug.cc
// -*- C++ -*-
//
// Package: MuonAnalysis/MuonAssociators
// Class: TriggerMatcherToHLTDebug
//
/**\class TriggerMatcherToHLTDebug TriggerMatcherToHLTDebug.cc MuonAnalysis/MuonAssociators/plugins/TriggerMatcherToHLTDebug.cc
Descriptio... |
nistefan/cmssw | HiggsAnalysis/HiggsToGammaGamma/src/PhotonFixCMS.cc | #include <cmath>
#include <cassert>
#include <fstream>
#include <iomanip>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ESHand... |
nistefan/cmssw | FWCore/Integration/test/ProducerWithPSetDesc.cc | #include "FWCore/Integration/test/ProducerWithPSetDesc.h"
#include "DataFormats/TestObjects/interface/ThingCollection.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/i... |
nistefan/cmssw | Alignment/CocoaModel/src/OptOMirror.cc | // COCOA class implementation file
//Id: OptOMirror.cc
//CAT: Model
//
// History: v1.0
// <NAME>
#include "Alignment/CocoaModel/interface/OptOMirror.h"
#include "Alignment/CocoaModel/interface/LightRay.h"
#include "Alignment/CocoaModel/interface/ALIPlane.h"
#include "Alignment/CocoaModel/interface/M... |
nistefan/cmssw | DataFormats/L1TMuon/src/BMTF/L1MuBMTrackSegLoc.cc | <reponame>nistefan/cmssw
//-------------------------------------------------
//
// Class: L1MuBMTrackSegLoc
//
// Description: Logical location of a Track Segment
//
//
//
// Author :
// <NAME> CERN EP
//
//--------------------------------------------------
//-----------------------
// This Class's... |
nistefan/cmssw | CondFormats/EcalCorrections/src/EcalShowerContainmentCorrections.cc | // Implementation of class EcalShowerContainmentCorrections
// Author: <NAME>'
// $Id: EcalShowerContainmentCorrections.cc,v 1.1 2007/05/15 20:37:22 argiro Exp $
#include "CondFormats/EcalCorrections/interface/EcalShowerContainmentCorrections.h"
#include <DataFormats/EcalDetId/interface/EBDetId.h>
#include <FWCore/Mes... |
nistefan/cmssw | AnalysisDataFormats/EWK/src/WMuNuCandidatePtr.cc | #include "AnalysisDataFormats/EWK/interface/WMuNuCandidatePtr.h"
#include "CommonTools/CandUtils/interface/CandCombiner.h"
#include "CommonTools/CandUtils/interface/AddFourMomenta.h"
#include "DataFormats/TrackReco/interface/Track.h"
using namespace edm;
using namespace std;
using namespace reco;
WMuNuCandid... |
nistefan/cmssw | L1Trigger/L1TCalorimeter/src/firmware/Stage2PreProcessFirmwareImp1.cc | ///
/// \class l1t::Stage2PreProcessorFirmwareImp1
///
/// \author: <NAME>
///
/// Description: first iteration of stage 2 processing
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "L1Trigger/L1TCalorimeter/interface/Stage2PreProcessorFirmware.h"
#include "L1Trigger/L1TCalorimeter/interface/Stage2T... |
nistefan/cmssw | RecoParticleFlow/PFProducer/plugins/importers/V0TrackImporter.cc | #include "TrackFromParentImporter.h"
#include "DataFormats/ParticleFlowReco/interface/PFV0Fwd.h"
#include "DataFormats/ParticleFlowReco/interface/PFV0.h"
namespace {
class V0Adaptor {
public:
static bool check_importable(const reco::PFV0Collection::value_type& t) {
return true;
}
static const std... |
nistefan/cmssw | Alignment/Geners/interface/stringArchiveIO.hh | <filename>Alignment/Geners/interface/stringArchiveIO.hh
#ifndef GENERS_STRINGARCHIVEIO_HH_
#define GENERS_STRINGARCHIVEIO_HH_
#include "Alignment/Geners/interface/StringArchive.hh"
namespace gs {
// The following function returns "true" on success,
// "false" on failure.
bool writeStringArchive(const Stri... |
nistefan/cmssw | DPGAnalysis/SiStripTools/src/CommonAnalyzer.cc | #include <iostream>
#include "DPGAnalysis/SiStripTools/interface/CommonAnalyzer.h"
#include "TFile.h"
#include "TDirectory.h"
#include "TObject.h"
#include "TH1F.h"
#include "TNamed.h"
#include "TList.h"
#include "TKey.h"
#include "TClass.h"
#include <string>
#include <vector>
CommonAnalyzer::CommonAnalyzer(TFile* fil... |
nistefan/cmssw | FWCore/MessageService/test/UnitTestClient_H.cc | <reponame>nistefan/cmssw
#ifdef EDM_ML_DEBUG
#undef EDM_ML_DEBUG
#endif
#include "FWCore/MessageService/test/UnitTestClient_H.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include <iostream>
#include <string>
namespace edmtest
{
void
UnitTestCli... |
nistefan/cmssw | DQM/RPCMonitorClient/src/RPCLinkSynchroStat.cc | #include "DQM/RPCMonitorClient/interface/RPCLinkSynchroStat.h"
#include "CondFormats/RPCObjects/interface/RPCReadOutMapping.h"
#include "CondFormats/RPCObjects/interface/LinkBoardSpec.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <algorithm>
#include <sstream>
#include <iostream>
#include <ioma... |
nistefan/cmssw | RecoLocalCalo/EcalRecProducers/test/EcalCompactTrigPrimProducerTest.cc | <gh_stars>1-10
#include "RecoLocalCalo/EcalRecProducers/test/EcalCompactTrigPrimProducerTest.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 <iostream>
#... |
nistefan/cmssw | DQM/SiStripCommissioningAnalysis/src/CalibrationAlgorithm.cc | <gh_stars>1-10
#include "DQM/SiStripCommissioningAnalysis/interface/CalibrationAlgorithm.h"
#include "CondFormats/SiStripObjects/interface/CalibrationAnalysis.h"
#include "DataFormats/SiStripCommon/interface/SiStripHistoTitle.h"
#include "DataFormats/SiStripCommon/interface/SiStripEnumsAndStrings.h"
#include "FWCore/Me... |
nistefan/cmssw | L1Trigger/RPCTrigger/src/RPCPacData.cc | <gh_stars>1-10
/*******************************************************************************
* *
* <NAME> *
* Warsaw University 2002 ... |
nistefan/cmssw | CondTools/Ecal/src/EcalTestDevDB.cc | <reponame>nistefan/cmssw
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFor... |
nistefan/cmssw | Fireworks/ParticleFlow/src/FWPFLegoRecHit.cc | #include "Fireworks/ParticleFlow/interface/FWPFLegoRecHit.h"
#include "Fireworks/Core/interface/FWProxyBuilderBase.h"
//______________________________________________________________________________
FWPFLegoRecHit::FWPFLegoRecHit( const std::vector<TEveVector> &corners, TEveElement *comp, FWProxyBuilderBase*pb,
... |
nistefan/cmssw | L1Trigger/GlobalMuonTrigger/test/L1MuGMTTree.cc | //-------------------------------------------------
//
// Class: L1MuGMTTree
//
// Description: Build GMT tree
//
//
//
// <NAME> HEPHY Vienna
//
//--------------------------------------------------
//-----------------------
// This Class's Header --
//-------------... |
nistefan/cmssw | L1Trigger/L1TMuon/src/L1TMuonGlobalParams_PUBLIC.cc | #include "L1Trigger/L1TMuon/interface/L1TMuonGlobalParams_PUBLIC.h"
const L1TMuonGlobalParams_PUBLIC & cast_to_L1TMuonGlobalParams_PUBLIC(const L1TMuonGlobalParams & x){
assert(sizeof(L1TMuonGlobalParams_PUBLIC) == sizeof(L1TMuonGlobalParams));
const void * px = &x;
const L1TMuonGlobalParams_PUBLIC * py = static... |
nistefan/cmssw | L1Trigger/L1THGCal/test/calib/testCalibration.cc | // -*- C++ -*-
//
// Package: Analyzers
// Class: testCalibration
//
/**\class testCalibration testCalibration.cc HGCPFLab/Analyzers/plugins/testCalibration.cc
Description: [one line class summary]
Implementation:
[Notes on implementation]
*/
//
// Original Author: <NAME>
// Created: Mon, ... |
nistefan/cmssw | DQM/HcalCommon/src/DetectorQuantity.cc |
#include "DQM/HcalCommon/interface/DetectorQuantity.h"
namespace hcaldqm
{
namespace quantity
{
int getValue_iphi(HcalDetId const& did)
{
return did.iphi();
}
int getValue_ieta(HcalDetId const& did)
{
int x = did.ieta();
if (x<0)
x = did.subdet()==HcalForward ? x+41 : x+42;
else
x = d... |
nistefan/cmssw | PhysicsTools/SelectorUtils/src/PFElectronSelector.cc | #include "PhysicsTools/SelectorUtils/interface/PFElectronSelector.h"
|
nistefan/cmssw | CondFormats/RPCObjects/src/RPCReadOutMapping.cc | #include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "CondFormats/RPCObjects/interface/RPCReadOutMapping.h"
#include "CondFormats/RPCObjects/interface/TriggerBoardSpec.h"
#include "CondFormats/RPCObjects/interface/LinkConnSpec.h"
#include "CondFormats/RPCObjects/interface/LinkBoardSpec.h"
#include "Cond... |
nistefan/cmssw | EventFilter/L1TRawToDigi/plugins/implementations_stage2/CaloCollections.cc | #include "FWCore/Framework/interface/Event.h"
#include "CaloCollections.h"
namespace l1t {
namespace stage2 {
CaloCollections::~CaloCollections()
{
event_.put(std::move(towers_),"CaloTower");
event_.put(std::move(egammas_),"EGamma");
event_.put(std::move(etsums_),"EtSum");
... |
nistefan/cmssw | AnalysisDataFormats/TopObjects/src/StGenEvent.cc | <filename>AnalysisDataFormats/TopObjects/src/StGenEvent.cc
//
//
#include "FWCore/Utilities/interface/EDMException.h"
#include "CommonTools/CandUtils/interface/pdgIdUtils.h"
#include "AnalysisDataFormats/TopObjects/interface/StGenEvent.h"
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
StGenEvent::StGen... |
nistefan/cmssw | SimG4Core/Notification/src/TrackInformationExtractor.cc | #include "SimG4Core/Notification/interface/TrackInformationExtractor.h"
#include "G4Track.hh"
const TrackInformation &
TrackInformationExtractor::operator()(const G4Track & gtk) const
{
G4VUserTrackInformation * gui = gtk.GetUserInformation();
if (gui == nullptr) missing(gtk);
const TrackInformation * tk... |
nistefan/cmssw | DataFormats/GEMRecHit/src/GEMRecHit.cc | <gh_stars>1-10
/*
* See header file for a description of this class.
*
* \author <NAME> -- INFN Bari
*/
#include "DataFormats/GEMRecHit/interface/GEMRecHit.h"
GEMRecHit::GEMRecHit(const GEMDetId& gemId, int bx) : RecHit2DLocalPos(gemId),
theGEMId(gemId), theBx(bx),theFirstStrip(99),theClusterSize(99), theL... |
nistefan/cmssw | Fireworks/Core/src/FWGUIEventDataAdder.cc | <reponame>nistefan/cmssw
// -*- C++ -*-
//
// Package: Core
// Class : FWGUIEventDataAdder
//
// Implementation:
// <Notes on implementation>
//
// Original Author: <NAME>
// Created: Fri Jun 13 09:58:53 EDT 2008
//
// system include files
#include <iostream>
#include <sigc++/signal.h>
#include ... |
nistefan/cmssw | HLTrigger/JetMET/src/HLT2jetGapFilter.cc | /** \class HLT2jetGapFilter
*
* \author <NAME> (CERN)
*
*/
#include "HLTrigger/JetMET/interface/HLT2jetGapFilter.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.