Skip to content

Commit

Permalink
Merge pull request #32207 from CTPPS/dirsim_dynamic_conditions
Browse files Browse the repository at this point in the history
dynamic conditions for PPS direct simulation
  • Loading branch information
cmsbuild authored Dec 8, 2020
2 parents e0edf22 + 2afe7cd commit b4e0fd7
Show file tree
Hide file tree
Showing 40 changed files with 1,378 additions and 663 deletions.
10 changes: 10 additions & 0 deletions CalibPPS/ESProducers/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<use name="FWCore/Framework"/>
<use name="Utilities/Xerces"/>
<use name="CondFormats/DataRecord"/>
<use name="CondFormats/PPSObjects"/>
<use name="DataFormats/CTPPSDetId"/>
<use name="CondFormats/RunInfo"/>
<use name="clhep"/>
<export>
<lib name="1"/>
</export>
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/****************************************************************************
* Authors:
* Jan Kaspar (jan.kaspar@gmail.com)
* Helena Malbouisson
* Clemencia Mora Herrera
* Christopher Misan
****************************************************************************/

namespace edm {
class ParameterSet;
}

#include "CondFormats/PPSObjects/interface/CTPPSRPAlignmentCorrectionsDataSequence.h"

#include <vector>
#include <string>

class CTPPSRPAlignmentCorrectionsDataESSourceXMLCommon {
public:
CTPPSRPAlignmentCorrectionsDataESSourceXMLCommon(const edm::ParameterSet &p);
~CTPPSRPAlignmentCorrectionsDataESSourceXMLCommon();

CTPPSRPAlignmentCorrectionsDataSequence acsMeasured, acsReal, acsMisaligned;
CTPPSRPAlignmentCorrectionsData acMeasured, acReal, acMisaligned;

unsigned int verbosity;

static edm::EventID previousLS(const edm::EventID &src);
static edm::EventID nextLS(const edm::EventID &src);

protected:
CTPPSRPAlignmentCorrectionsDataSequence Merge(const std::vector<CTPPSRPAlignmentCorrectionsDataSequence> &) const;

void PrepareSequence(const std::string &label,
CTPPSRPAlignmentCorrectionsDataSequence &seq,
const std::vector<std::string> &files) const;
};
18 changes: 16 additions & 2 deletions CalibPPS/ESProducers/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
<library name="CalibPPSESProducersPlugins" file="*.cc">
<flags EDM_PLUGIN="1"/>

<use name="CalibPPS/ESProducers"/>

<use name="FWCore/Framework"/>
<use name="Utilities/Xerces"/>
<use name="FWCore/Utilities"/>
<use name="FWCore/ParameterSet"/>
<use name="FWCore/MessageLogger"/>

<use name="CondFormats/AlignmentRecord"/>
<use name="CondFormats/DataRecord"/>
<use name="CondFormats/PPSObjects"/>
<use name="DataFormats/CTPPSDetId"/>
<use name="CondFormats/RunInfo"/>

<use name="DataFormats/CTPPSDetId"/>

<use name="Geometry/Records"/>
<use name="Geometry/VeryForwardGeometryBuilder"/>

<use name="Utilities/Xerces"/>

<use name="clhep"/>
</library>
Loading

0 comments on commit b4e0fd7

Please sign in to comment.