|
| MuonGeometrySVGTemplate (const edm::ParameterSet &iConfig) |
|
| ~MuonGeometrySVGTemplate () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 47 of file MuonGeometrySVGTemplate.cc.
Definition at line 82 of file MuonGeometrySVGTemplate.cc.
References AlignableNavigator::alignableFromDetId(), EnergyCorrector::c, relativeConstraints::chamber, DEFINE_FWK_MODULE, edm::FileInPath::fullPath(), MuonAlignment::getAlignableNavigator(), triggerObjects_cff::id, M_PI, m_wheelTemplateName, CSCOverlapsAlignmentAlgorithm_cff::muonAlignment, MillePedeFileConverter_cfg::out, phi, GloballyPositioned< T >::position(), relativeConstraints::station, Alignable::surface(), AlignableSurface::toGlobal(), ApeEstimator_cff::width, AlignableSurface::width(), x, PV3DBase< T, PVType, FrameType >::x(), y, and PV3DBase< T, PVType, FrameType >::y().
88 edm::FileInPath fip_BEGINNING(
"Alignment/MuonAlignment/data/wheel_template.svg_BEGINNING");
89 std::ifstream in_BEGINNING(fip_BEGINNING.fullPath().c_str());
90 edm::FileInPath fip_END(
"Alignment/MuonAlignment/data/wheel_template.svg_END");
91 std::ifstream in_END(fip_END.fullPath().c_str());
93 const double height = 45.;
96 while (in_BEGINNING.good()) {
97 char c = (char) in_BEGINNING.get();
98 if (in_BEGINNING.good())
out << c;
103 if (
station == 4) numSectors = 14;
104 for (
int sector = 1; sector <= numSectors; sector++) {
112 double x = -width/2.;
113 double y = -height/2.;
117 double phi = atan2(direction.
y(), direction.
x());
123 out <<
" <rect id=\"MB_" <<
station <<
"_" << sector <<
"\" x=\"" << x <<
"\" y=\"" << y <<
"\" width=\"" << width <<
"\" height=\"" << height <<
"\" transform=\"translate(" << tx <<
", " << ty <<
") rotate(" << phi*180./
M_PI <<
")\" style=\"fill:#e1e1e1;fill-opacity:1;stroke:#000000;stroke-width:5.0;stroke-dasharray:1, 1;stroke-dashoffset:0\" />" << std::endl;
127 while (in_END.good()) {
128 char c = (char) in_END.get();
129 if (in_END.good())
out << c;
align::Scalar width() const
Local3DVector LocalVector
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
std::string m_wheelTemplateName
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
const PositionType & position() const
AlignableDetOrUnitPtr alignableFromDetId(const DetId &detid)
Returns AlignableDetOrUnitPtr corresponding to given DetId.