Skip to content

Commit

Permalink
Merge pull request #42664 from CTPPS/133X-FS-SimBeamSpot
Browse files Browse the repository at this point in the history
PPS full simulation with beam spot information deom SimBeamSpotObjects
  • Loading branch information
cmsbuild authored Nov 17, 2023
2 parents 6876682 + 257ecf0 commit 9ccab08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions SimTransport/PPSProtonTransport/interface/HectorTransport.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef HECTOR_TRANSPORT
#define HECTOR_TRANSPORT
#include "SimTransport/PPSProtonTransport/interface/BaseProtonTransport.h"
#include "CondFormats/BeamSpotObjects/interface/BeamSpotObjects.h"
#include "CondFormats/DataRecord/interface/BeamSpotObjectsRcd.h"
#include "CondFormats/BeamSpotObjects/interface/SimBeamSpotObjects.h"
#include "CondFormats/DataRecord/interface/SimBeamSpotObjectsRcd.h"
#include "CondFormats/DataRecord/interface/CTPPSBeamParametersRcd.h"
#include "CondFormats/PPSObjects/interface/CTPPSBeamParameters.h"

Expand Down Expand Up @@ -57,9 +57,9 @@ class HectorTransport : public BaseProtonTransport {
std::unique_ptr<H_BeamLine> m_beamline56;

edm::ESGetToken<CTPPSBeamParameters, CTPPSBeamParametersRcd> beamParametersToken_;
edm::ESGetToken<BeamSpotObjects, BeamSpotObjectsRcd> beamspotToken_;
edm::ESGetToken<SimBeamSpotObjects, SimBeamSpotObjectsRcd> beamspotToken_;

const CTPPSBeamParameters* beamParameters_{nullptr};
const BeamSpotObjects* beamspot_{nullptr};
const SimBeamSpotObjects* beamspot_{nullptr};
};
#endif
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef OPTICALFUNCTION_TRANSPORT
#define OPTICALFUNCTION_TRANSPORT
#include "CondFormats/BeamSpotObjects/interface/BeamSpotObjects.h"
#include "CondFormats/DataRecord/interface/BeamSpotObjectsRcd.h"
#include "CondFormats/BeamSpotObjects/interface/SimBeamSpotObjects.h"
#include "CondFormats/DataRecord/interface/SimBeamSpotObjectsRcd.h"
#include "CondFormats/DataRecord/interface/CTPPSBeamParametersRcd.h"
#include "CondFormats/PPSObjects/interface/CTPPSBeamParameters.h"
#include "CondFormats/DataRecord/interface/CTPPSInterpolatedOpticsRcd.h"
Expand Down Expand Up @@ -29,12 +29,12 @@ class OpticalFunctionsTransport : public BaseProtonTransport {
edm::ESGetToken<LHCInfo, LHCInfoRcd> lhcInfoToken_;
edm::ESGetToken<CTPPSBeamParameters, CTPPSBeamParametersRcd> beamParametersToken_;
edm::ESGetToken<LHCInterpolatedOpticalFunctionsSetCollection, CTPPSInterpolatedOpticsRcd> opticsToken_;
edm::ESGetToken<BeamSpotObjects, BeamSpotObjectsRcd> beamspotToken_;
edm::ESGetToken<SimBeamSpotObjects, SimBeamSpotObjectsRcd> beamspotToken_;

const LHCInfo* lhcInfo_{nullptr};
const CTPPSBeamParameters* beamParameters_{nullptr};
const LHCInterpolatedOpticalFunctionsSetCollection* opticalFunctions_{nullptr};
const BeamSpotObjects* beamspot_{nullptr};
const SimBeamSpotObjects* beamspot_{nullptr};

unsigned int optFunctionId45_{0};
unsigned int optFunctionId56_{0};
Expand Down

0 comments on commit 9ccab08

Please sign in to comment.