11 #ifndef CondFormats_CTPPSReadoutObjects_CTPPSRPAlignmentCorrectionsMethods 12 #define CondFormats_CTPPSReadoutObjects_CTPPSRPAlignmentCorrectionsMethods 18 #include <xercesc/dom/DOM.hpp> 32 bool precise =
false,
bool wrErrors =
true,
33 bool wrSh_xy=
true,
bool wrSh_z=
false,
bool wrRot_xy=
false,
bool wrRot_z=
true );
37 bool precise =
false,
bool wrErrors =
true,
38 bool wrSh_xy=
true,
bool wrSh_z=
false,
bool wrRot_xy=
false,
bool wrRot_z=
true )
56 bool wrSh_xy,
bool wrSh_z,
bool wrRot_xy,
bool wrRot_z );
60 bool wrSh_xy=
true,
bool wrSh_z=
false,
bool wrRot_xy=
false,
bool wrRot_z=
true );
CTPPSRPAlignmentCorrectionsMethods()
static edm::IOVSyncValue stringToIOVValue(const std::string &)
Time sequence of alignment corrections. I/O methods have been factored out to: CondFormats/CTPPSReado...
static const IOVSyncValue & endOfTime()
static CTPPSRPAlignmentCorrectionsDataSequence loadFromXML(const std::string &fileName)
loads sequence of alignment corrections from XML file
static const IOVSyncValue & beginOfTime()
static std::string iovValueToString(const edm::IOVSyncValue &)
void insert(const edm::ValidityInterval &iov, const CTPPSRPAlignmentCorrectionsData &data)
Container for CTPPS RP alignment corrections. The corrections are stored on two levels - RP and senso...
static void writeXMLBlock(const CTPPSRPAlignmentCorrectionsData &, FILE *, bool precise=false, bool wrErrors=true, bool wrSh_xy=true, bool wrSh_z=false, bool wrRot_xy=false, bool wrRot_z=true)
writes a block of corrections into a file
char data[epos_bytes_allocation]
static void writeToXML(const CTPPSRPAlignmentCorrectionsDataSequence &seq, const std::string &fileName, bool precise=false, bool wrErrors=true, bool wrSh_xy=true, bool wrSh_z=false, bool wrRot_xy=false, bool wrRot_z=true)
writes sequence of alignment corrections into a single XML file
static void writeToXML(const CTPPSRPAlignmentCorrectionsData &ad, const std::string &fileName, bool precise=false, bool wrErrors=true, bool wrSh_xy=true, bool wrSh_z=false, bool wrRot_xy=false, bool wrRot_z=true)
writes alignment corrections into a single XML file, assigning infinite interval of validity ...
static void writeXML(const CTPPSRPAlignmentCorrectionData &data, FILE *f, bool precise, bool wrErrors, bool wrSh_xy, bool wrSh_z, bool wrRot_xy, bool wrRot_z)
writes data of a correction in XML format
static CTPPSRPAlignmentCorrectionsData getCorrectionsData(xercesc::DOMNode *)
load corrections data corresponding to one IOV
Alignment correction for an element of the CT-PPS detector. Within the geometry description, every sensor (more generally every element) is given its translation and rotation. These two quantities shall be understood in local-to-global coordinate transform. That is, if r_l is a point in local coordinate system and x_g in global, then it holds.