CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
CreateSurveyRcds Class Reference

#include <CreateSurveyRcds.h>

Inheritance diagram for CreateSurveyRcds:
SurveyInputBase edm::one::EDAnalyzer<> edm::one::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 Do nothing for each event. More...
 
 CreateSurveyRcds (const edm::ParameterSet &)
 
- Public Member Functions inherited from SurveyInputBase
void beginJob () override
 Read data from input. More...
 
 ~SurveyInputBase () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

AlgebraicVector getStructureErrors (int, int)
 default values for survey uncertainty More...
 
AlgebraicVector getStructurePlacements (int, int)
 default values for assembly precision More...
 
void setGeometry (Alignable *)
 module which modifies the geometry More...
 
void setSurveyErrors (Alignable *)
 module which creates/inserts the survey errors More...
 

Private Attributes

const edm::ESGetToken< AlignmentErrorsExtended, TrackerAlignmentErrorExtendedRcdaliErrToken_
 
const edm::ESGetToken< Alignments, TrackerAlignmentRcdaliToken_
 
const edm::ESGetToken< GeometricDet, IdealGeometryRecordgeomDetToken_
 
bool m_generatedRandom
 
bool m_generatedSimple
 
std::string m_inputGeom
 
double m_inputSimpleMis
 
const edm::ESGetToken< PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcdptitpToken_
 
const edm::ESGetToken< PTrackerParameters, PTrackerParametersRcdptpToken_
 
std::string textFileName
 
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcdtTopoToken_
 
SurveyInputTextReader::MapType uIdMap
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from SurveyInputBase
static void addComponent (Alignable *)
 
static Alignabledetector ()
 Get alignable detector as read from input. More...
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
- Protected Attributes inherited from SurveyInputBase
bool theFirstEvent
 

Detailed Description

Class to create Survey[Error]Rcd for alignment with survey constraint

Date
2012/06/13 09:22:26
Revision
1.3
Author
Chung Khim Lae

Definition at line 37 of file CreateSurveyRcds.h.

Constructor & Destructor Documentation

◆ CreateSurveyRcds()

CreateSurveyRcds::CreateSurveyRcds ( const edm::ParameterSet cfg)

Definition at line 22 of file CreateSurveyRcds.cc.

29  m_inputGeom = cfg.getUntrackedParameter<std::string>("inputGeom");
30  m_inputSimpleMis = cfg.getUntrackedParameter<double>("simpleMis");
31  m_generatedRandom = cfg.getUntrackedParameter<bool>("generatedRandom");
32  m_generatedSimple = cfg.getUntrackedParameter<bool>("generatedSimple");
33 }

References looper::cfg, m_generatedRandom, m_generatedSimple, m_inputGeom, m_inputSimpleMis, and AlCaHLTBitMon_QueryRunRegistry::string.

Member Function Documentation

◆ analyze()

void CreateSurveyRcds::analyze ( const edm::Event ,
const edm::EventSetup  
)
overridevirtual

Do nothing for each event.

Implements SurveyInputBase.

Definition at line 35 of file CreateSurveyRcds.cc.

35  {
36  //Retrieve tracker topology from geometry
37  const TrackerTopology* const tTopo = &setup.getData(tTopoToken_);
38  const GeometricDet* geom = &setup.getData(geomDetToken_);
39  const PTrackerParameters& ptp = setup.getData(ptpToken_);
40  const PTrackerAdditionalParametersPerDet* ptitp = &setup.getData(ptitpToken_);
42 
43  //take geometry from DB or randomly generate geometry
44  if (m_inputGeom == "sqlite") {
45  //build the tracker
46  const Alignments* alignments = &setup.getData(aliToken_);
47  const AlignmentErrorsExtended* alignmentErrors = &setup.getData(aliErrToken_);
48 
49  //apply the latest alignments
50  GeometryAligner aligner;
51  aligner.applyAlignments<TrackerGeometry>(&(*tracker), alignments, alignmentErrors, AlignTransform());
52  }
53 
55 
56  Alignable* ali = detector();
57  if (m_inputGeom == "generated") {
58  setGeometry(ali);
59  }
60 
61  setSurveyErrors(ali);
62 }

References SurveyInputBase::addComponent(), aliErrToken_, aliToken_, GeometryAligner::applyAlignments(), TrackerGeomBuilderFromGeometricDet::build(), SurveyInputBase::detector(), relativeConstraints::geom, geomDetToken_, m_inputGeom, ptitpToken_, ptpToken_, setGeometry(), setSurveyErrors(), singleTopDQM_cfi::setup, PbPb_ZMuSkimMuonDPG_cff::tracker, and tTopoToken_.

◆ getStructureErrors()

AlgebraicVector CreateSurveyRcds::getStructureErrors ( int  level,
int  subdetlevel 
)
private

default values for survey uncertainty

Definition at line 643 of file CreateSurveyRcds.cc.

643  {
644  AlgebraicVector deltaRW(6);
645  deltaRW(1) = 0.0;
646  deltaRW(2) = 0.0;
647  deltaRW(3) = 0.0;
648  deltaRW(4) = 0.0;
649  deltaRW(5) = 0.0;
650  deltaRW(6) = 0.0;
651  //PIXEL
652  if ((level == 37) && (subdetlevel == 1)) { //Pixel Detector in Tracker
653  deltaRW(1) = 0.2;
654  deltaRW(2) = 0.2;
655  deltaRW(3) = 0.2;
656  deltaRW(4) = 0.0017;
657  deltaRW(5) = 0.0017;
658  deltaRW(6) = 0.0017;
659  }
660  //STRIP
661  if ((level == 38) && (subdetlevel == 3)) { //Strip Tracker in Tracker
662  deltaRW(1) = 0.2;
663  deltaRW(2) = 0.2;
664  deltaRW(3) = 0.2;
665  deltaRW(4) = 0.0004;
666  deltaRW(5) = 0.0004;
667  deltaRW(6) = 0.0004;
668  }
669  //TRACKER
670  if ((level == 39) && (subdetlevel == 1)) { //Tracker
671  deltaRW(1) = 0.0;
672  deltaRW(2) = 0.0;
673  deltaRW(3) = 0.0;
674  deltaRW(4) = 0.0;
675  deltaRW(5) = 0.0;
676  deltaRW(6) = 0.0;
677  }
678  //TPB
679  if ((level == 7) && (subdetlevel == 1)) { //Barrel Pixel in Pixel
680  deltaRW(1) = 0.05;
681  deltaRW(2) = 0.05;
682  deltaRW(3) = 0.1;
683  deltaRW(4) = 0.0008;
684  deltaRW(5) = 0.0008;
685  deltaRW(6) = 0.0008;
686  }
687  if ((level == 6) && (subdetlevel == 1)) { //HalfBarrel in Barrel Pixel
688  deltaRW(1) = 0.015;
689  deltaRW(2) = 0.015;
690  deltaRW(3) = 0.03;
691  deltaRW(4) = 0.0003;
692  deltaRW(5) = 0.0003;
693  deltaRW(6) = 0.0003;
694  }
695  if ((level == 5) && (subdetlevel == 1)) { //HalfShell in HalfBarrel
696  deltaRW(1) = 0.005;
697  deltaRW(2) = 0.005;
698  deltaRW(3) = 0.01;
699  deltaRW(4) = 0.0001;
700  deltaRW(5) = 0.0001;
701  deltaRW(6) = 0.0001;
702  }
703  if ((level == 4) && (subdetlevel == 1)) { //Ladder in HalfShell
704  deltaRW(1) = 0.001;
705  deltaRW(2) = 0.001;
706  deltaRW(3) = 0.002;
707  deltaRW(4) = 0.00005;
708  deltaRW(5) = 0.00005;
709  deltaRW(6) = 0.00005;
710  }
711  if ((level == 2) && (subdetlevel == 1)) { //Det in Ladder
712  deltaRW(1) = 0.0005;
713  deltaRW(2) = 0.001;
714  deltaRW(3) = 0.001;
715  deltaRW(4) = 0.0001;
716  deltaRW(5) = 0.0001;
717  deltaRW(6) = 0.0001;
718  }
719  if ((level == 1) && (subdetlevel == 1)) { //DetUnit in Ladder
720  deltaRW(1) = 0.0005;
721  deltaRW(2) = 0.001;
722  deltaRW(3) = 0.001;
723  deltaRW(4) = 0.0001;
724  deltaRW(5) = 0.0001;
725  deltaRW(6) = 0.0001;
726  }
727  //TPE
728  if ((level == 13) && (subdetlevel == 2)) { //Forward Pixel in Pixel
729  deltaRW(1) = 0.05;
730  deltaRW(2) = 0.05;
731  deltaRW(3) = 0.1;
732  deltaRW(4) = 0.0004;
733  deltaRW(5) = 0.0004;
734  deltaRW(6) = 0.0004;
735  }
736  if ((level == 12) && (subdetlevel == 2)) { //HalfCylinder in Forward Pixel
737  deltaRW(1) = 0.015;
738  deltaRW(2) = 0.015;
739  deltaRW(3) = 0.03;
740  deltaRW(4) = 0.00015;
741  deltaRW(5) = 0.00015;
742  deltaRW(6) = 0.00015;
743  }
744  if ((level == 11) && (subdetlevel == 2)) { //HalfDisk in HalfCylinder
745  deltaRW(1) = 0.005;
746  deltaRW(2) = 0.005;
747  deltaRW(3) = 0.01;
748  deltaRW(4) = 0.0001;
749  deltaRW(5) = 0.0001;
750  deltaRW(6) = 0.0001;
751  }
752  if ((level == 10) && (subdetlevel == 2)) { //Blade in HalfDisk
753  deltaRW(1) = 0.001;
754  deltaRW(2) = 0.001;
755  deltaRW(3) = 0.002;
756  deltaRW(4) = 0.0001;
757  deltaRW(5) = 0.0001;
758  deltaRW(6) = 0.0001;
759  }
760  if ((level == 9) && (subdetlevel == 2)) { //Panel in Blade
761  deltaRW(1) = 0.001;
762  deltaRW(2) = 0.0008;
763  deltaRW(3) = 0.0006;
764  deltaRW(4) = 0.0002;
765  deltaRW(5) = 0.0002;
766  deltaRW(6) = 0.0002;
767  }
768  if ((level == 2) && (subdetlevel == 2)) { //Det in Panel
769  deltaRW(1) = 0.0005;
770  deltaRW(2) = 0.0004;
771  deltaRW(3) = 0.0006;
772  deltaRW(4) = 0.0001;
773  deltaRW(5) = 0.0003;
774  deltaRW(6) = 0.0001;
775  }
776  if ((level == 1) && (subdetlevel == 2)) { //DetUnit in Panel
777  deltaRW(1) = 0.0005;
778  deltaRW(2) = 0.0004;
779  deltaRW(3) = 0.0006;
780  deltaRW(4) = 0.0001;
781  deltaRW(5) = 0.0003;
782  deltaRW(6) = 0.0001;
783  }
784  //TIB
785  if ((level == 20) && (subdetlevel == 3)) { //TIB in Strip Tracker
786  deltaRW(1) = 0.08;
787  deltaRW(2) = 0.08;
788  deltaRW(3) = 0.04;
789  deltaRW(4) = 0.0017;
790  deltaRW(5) = 0.0017;
791  deltaRW(6) = 0.0017;
792  }
793  if ((level == 19) && (subdetlevel == 3)) { //HalfBarrel in TIB
794  deltaRW(1) = 0.04;
795  deltaRW(2) = 0.04;
796  deltaRW(3) = 0.02;
797  deltaRW(4) = 0.0003;
798  deltaRW(5) = 0.0003;
799  deltaRW(6) = 0.0003;
800  }
801  if ((level == 18) && (subdetlevel == 3)) { //Layer in HalfBarrel
802  deltaRW(1) = 0.02;
803  deltaRW(2) = 0.02;
804  deltaRW(3) = 0.01;
805  deltaRW(4) = 0.0006;
806  deltaRW(5) = 0.0006;
807  deltaRW(6) = 0.0006;
808  }
809  if ((level == 17) && (subdetlevel == 3)) { //HalfShell in Layer
810  deltaRW(1) = 0.01;
811  deltaRW(2) = 0.01;
812  deltaRW(3) = 0.005;
813  deltaRW(4) = 0.0002;
814  deltaRW(5) = 0.0002;
815  deltaRW(6) = 0.0002;
816  }
817  if ((level == 16) && (subdetlevel == 3)) { //Surface in a HalfShell
818  deltaRW(1) = 0.004;
819  deltaRW(2) = 0.004;
820  deltaRW(3) = 0.008;
821  deltaRW(4) = 0.0002;
822  deltaRW(5) = 0.0001;
823  deltaRW(6) = 0.0001;
824  }
825  if ((level == 15) && (subdetlevel == 3)) { //String in a Surface
826  deltaRW(1) = 0.004;
827  deltaRW(2) = 0.004;
828  deltaRW(3) = 0.008;
829  deltaRW(4) = 0.0002;
830  deltaRW(5) = 0.0001;
831  deltaRW(6) = 0.0001;
832  }
833  if ((level == 2) && (subdetlevel == 3)) { //Det in a String
834  deltaRW(1) = 0.002;
835  deltaRW(2) = 0.002;
836  deltaRW(3) = 0.004;
837  deltaRW(4) = 0.0004;
838  deltaRW(5) = 0.0002;
839  deltaRW(6) = 0.0002;
840  }
841  if ((level == 1) && (subdetlevel == 3)) { //DetUnit in a String
842  deltaRW(1) = 0.002;
843  deltaRW(2) = 0.002;
844  deltaRW(3) = 0.004;
845  deltaRW(4) = 0.0004;
846  deltaRW(5) = 0.0002;
847  deltaRW(6) = 0.0002;
848  }
849  //TID
850  if ((level == 25) && (subdetlevel == 4)) { //TID in Strip Tracker
851  deltaRW(1) = 0.05;
852  deltaRW(2) = 0.05;
853  deltaRW(3) = 0.1;
854  deltaRW(4) = 0.0003;
855  deltaRW(5) = 0.0003;
856  deltaRW(6) = 0.0003;
857  }
858  if ((level == 24) && (subdetlevel == 4)) { //Disk in a TID
859  deltaRW(1) = 0.01;
860  deltaRW(2) = 0.01;
861  deltaRW(3) = 0.02;
862  deltaRW(4) = 0.0001;
863  deltaRW(5) = 0.0001;
864  deltaRW(6) = 0.0001;
865  }
866  if ((level == 23) && (subdetlevel == 4)) { //Ring is a Disk
867  deltaRW(1) = 0.004;
868  deltaRW(2) = 0.004;
869  deltaRW(3) = 0.005;
870  deltaRW(4) = 0.00004;
871  deltaRW(5) = 0.00004;
872  deltaRW(6) = 0.00004;
873  }
874  if ((level == 22) && (subdetlevel == 4)) { //Side of a Ring
875  deltaRW(1) = 0.002;
876  deltaRW(2) = 0.002;
877  deltaRW(3) = 0.002;
878  deltaRW(4) = 0.00004;
879  deltaRW(5) = 0.00004;
880  deltaRW(6) = 0.00004;
881  }
882  if ((level == 2) && (subdetlevel == 4)) { //Det in a Side
883  deltaRW(1) = 0.002;
884  deltaRW(2) = 0.002;
885  deltaRW(3) = 0.002;
886  deltaRW(4) = 0.0002;
887  deltaRW(5) = 0.0002;
888  deltaRW(6) = 0.0002;
889  }
890  if ((level == 1) && (subdetlevel == 4)) { //DetUnit is a Side
891  deltaRW(1) = 0.002;
892  deltaRW(2) = 0.002;
893  deltaRW(3) = 0.002;
894  deltaRW(4) = 0.0002;
895  deltaRW(5) = 0.0002;
896  deltaRW(6) = 0.0002;
897  }
898  //TOB
899  if ((level == 30) && (subdetlevel == 5)) { // TOB in Strip Tracker
900  deltaRW(1) = 0.06;
901  deltaRW(2) = 0.06;
902  deltaRW(3) = 0.06;
903  deltaRW(4) = 0.00025;
904  deltaRW(5) = 0.00025;
905  deltaRW(6) = 0.00025;
906  }
907  if ((level == 29) && (subdetlevel == 5)) { //HalfBarrel in the TOB
908  deltaRW(1) = 0.014;
909  deltaRW(2) = 0.014;
910  deltaRW(3) = 0.05;
911  deltaRW(4) = 0.0001;
912  deltaRW(5) = 0.0001;
913  deltaRW(6) = 0.0001;
914  }
915  if ((level == 28) && (subdetlevel == 5)) { //Layer in a HalfBarrel
916  deltaRW(1) = 0.02;
917  deltaRW(2) = 0.02;
918  deltaRW(3) = 0.02;
919  deltaRW(4) = 0.0001;
920  deltaRW(5) = 0.0001;
921  deltaRW(6) = 0.0001;
922  }
923  if ((level == 27) && (subdetlevel == 5)) { //Rod in a Layer
924  deltaRW(1) = 0.01;
925  deltaRW(2) = 0.01;
926  deltaRW(3) = 0.02;
927  deltaRW(4) = 0.0001;
928  deltaRW(5) = 0.0001;
929  deltaRW(6) = 0.0001;
930  }
931  if ((level == 2) && (subdetlevel == 5)) { //Det in a Rod
932  deltaRW(1) = 0.003;
933  deltaRW(2) = 0.003;
934  deltaRW(3) = 0.01;
935  deltaRW(4) = 0.0002;
936  deltaRW(5) = 0.0002;
937  deltaRW(6) = 0.0002;
938  }
939  if ((level == 1) && (subdetlevel == 5)) { //DetUnit in a Rod
940  deltaRW(1) = 0.003;
941  deltaRW(2) = 0.003;
942  deltaRW(3) = 0.01;
943  deltaRW(4) = 0.0002;
944  deltaRW(5) = 0.0002;
945  deltaRW(6) = 0.0002;
946  }
947  //TEC
948  if ((level == 36) && (subdetlevel == 6)) { //TEC in the Strip Tracker
949  deltaRW(1) = 0.06;
950  deltaRW(2) = 0.06;
951  deltaRW(3) = 0.1;
952  deltaRW(4) = 0.0003;
953  deltaRW(5) = 0.0003;
954  deltaRW(6) = 0.0003;
955  }
956  if ((level == 35) && (subdetlevel == 6)) { //Disk in the TEC
957  deltaRW(1) = 0.015;
958  deltaRW(2) = 0.015;
959  deltaRW(3) = 0.03;
960  deltaRW(4) = 0.0001;
961  deltaRW(5) = 0.0001;
962  deltaRW(6) = 0.0001;
963  }
964  if ((level == 34) && (subdetlevel == 6)) { //Side on a Disk
965  deltaRW(1) = 0.01;
966  deltaRW(2) = 0.01;
967  deltaRW(3) = 0.02;
968  deltaRW(4) = 0.00005;
969  deltaRW(5) = 0.00005;
970  deltaRW(6) = 0.00005;
971  }
972  if ((level == 33) && (subdetlevel == 6)) { //Petal on a Side of a Disk
973  deltaRW(1) = 0.01;
974  deltaRW(2) = 0.01;
975  deltaRW(3) = 0.02;
976  deltaRW(4) = 0.0001;
977  deltaRW(5) = 0.0001;
978  deltaRW(6) = 0.0001;
979  }
980  if ((level == 32) && (subdetlevel == 6)) { //Ring on a Petal
981  deltaRW(1) = 0.007;
982  deltaRW(2) = 0.007;
983  deltaRW(3) = 0.015;
984  deltaRW(4) = 0.00015;
985  deltaRW(5) = 0.00015;
986  deltaRW(6) = 0.00015;
987  }
988  if ((level == 2) && (subdetlevel == 6)) { //Det on a Ring
989  deltaRW(1) = 0.002;
990  deltaRW(2) = 0.002;
991  deltaRW(3) = 0.005;
992  deltaRW(4) = 0.0001;
993  deltaRW(5) = 0.0001;
994  deltaRW(6) = 0.0001;
995  }
996  if ((level == 1) && (subdetlevel == 6)) { // DetUnit on a Ring
997  deltaRW(1) = 0.002;
998  deltaRW(2) = 0.002;
999  deltaRW(3) = 0.005;
1000  deltaRW(4) = 0.0001;
1001  deltaRW(5) = 0.0001;
1002  deltaRW(6) = 0.0001;
1003  }
1004 
1005  return deltaRW;
1006 }

References personalPlayback::level.

Referenced by setGeometry(), and setSurveyErrors().

◆ getStructurePlacements()

AlgebraicVector CreateSurveyRcds::getStructurePlacements ( int  level,
int  subdetlevel 
)
private

default values for assembly precision

Definition at line 276 of file CreateSurveyRcds.cc.

276  {
277  AlgebraicVector deltaRW(6);
278  deltaRW(1) = 0.0;
279  deltaRW(2) = 0.0;
280  deltaRW(3) = 0.0;
281  deltaRW(4) = 0.0;
282  deltaRW(5) = 0.0;
283  deltaRW(6) = 0.0;
284  //PIXEL
285  if ((level == 37) && (subdetlevel == 1)) {
286  deltaRW(1) = 0.3;
287  deltaRW(2) = 0.3;
288  deltaRW(3) = 0.3;
289  deltaRW(4) = 0.0017;
290  deltaRW(5) = 0.0017;
291  deltaRW(6) = 0.0017;
292  }
293  //STRIP
294  if ((level == 38) && (subdetlevel == 3)) {
295  deltaRW(1) = 0.3;
296  deltaRW(2) = 0.3;
297  deltaRW(3) = 0.3;
298  deltaRW(4) = 0.0004;
299  deltaRW(5) = 0.0004;
300  deltaRW(6) = 0.0004;
301  }
302  //TRACKER
303  if ((level == 39) && (subdetlevel == 1)) {
304  deltaRW(1) = 0.0;
305  deltaRW(2) = 0.0;
306  deltaRW(3) = 0.0;
307  deltaRW(4) = 0.0;
308  deltaRW(5) = 0.0;
309  deltaRW(6) = 0.0;
310  }
311  //TPB
312  if ((level == 7) && (subdetlevel == 1)) {
313  deltaRW(1) = 0.2;
314  deltaRW(2) = 0.2;
315  deltaRW(3) = 0.2;
316  deltaRW(4) = 0.003;
317  deltaRW(5) = 0.003;
318  deltaRW(6) = 0.003;
319  }
320  if ((level == 6) && (subdetlevel == 1)) {
321  deltaRW(1) = 0.05;
322  deltaRW(2) = 0.05;
323  deltaRW(3) = 0.05;
324  deltaRW(4) = 0.0008;
325  deltaRW(5) = 0.0008;
326  deltaRW(6) = 0.0008;
327  }
328  if ((level == 5) && (subdetlevel == 1)) {
329  deltaRW(1) = 0.02;
330  deltaRW(2) = 0.02;
331  deltaRW(3) = 0.02;
332  deltaRW(4) = 0.0004;
333  deltaRW(5) = 0.0004;
334  deltaRW(6) = 0.0004;
335  }
336  if ((level == 4) && (subdetlevel == 1)) {
337  deltaRW(1) = 0.01;
338  deltaRW(2) = 0.01;
339  deltaRW(3) = 0.005;
340  deltaRW(4) = 0.0002;
341  deltaRW(5) = 0.0002;
342  deltaRW(6) = 0.0002;
343  }
344  if ((level == 2) && (subdetlevel == 1)) {
345  deltaRW(1) = 0.005;
346  deltaRW(2) = 0.005;
347  deltaRW(3) = 0.003;
348  deltaRW(4) = 0.001;
349  deltaRW(5) = 0.001;
350  deltaRW(6) = 0.001;
351  }
352  if ((level == 1) && (subdetlevel == 1)) {
353  deltaRW(1) = 0.005;
354  deltaRW(2) = 0.005;
355  deltaRW(3) = 0.003;
356  deltaRW(4) = 0.001;
357  deltaRW(5) = 0.001;
358  deltaRW(6) = 0.001;
359  }
360  //TPE
361  if ((level == 13) && (subdetlevel == 2)) {
362  deltaRW(1) = 0.2;
363  deltaRW(2) = 0.2;
364  deltaRW(3) = 0.2;
365  deltaRW(4) = 0.0017;
366  deltaRW(5) = 0.0017;
367  deltaRW(6) = 0.0017;
368  }
369  if ((level == 12) && (subdetlevel == 2)) {
370  deltaRW(1) = 0.05;
371  deltaRW(2) = 0.05;
372  deltaRW(3) = 0.05;
373  deltaRW(4) = 0.0004;
374  deltaRW(5) = 0.0004;
375  deltaRW(6) = 0.0004;
376  }
377  if ((level == 11) && (subdetlevel == 2)) {
378  deltaRW(1) = 0.02;
379  deltaRW(2) = 0.02;
380  deltaRW(3) = 0.02;
381  deltaRW(4) = 0.001;
382  deltaRW(5) = 0.001;
383  deltaRW(6) = 0.001;
384  }
385  if ((level == 10) && (subdetlevel == 2)) {
386  deltaRW(1) = 0.01;
387  deltaRW(2) = 0.01;
388  deltaRW(3) = 0.01;
389  deltaRW(4) = 0.001;
390  deltaRW(5) = 0.001;
391  deltaRW(6) = 0.001;
392  }
393  if ((level == 9) && (subdetlevel == 2)) {
394  deltaRW(1) = 0.01;
395  deltaRW(2) = 0.01;
396  deltaRW(3) = 0.005;
397  deltaRW(4) = 0.002;
398  deltaRW(5) = 0.002;
399  deltaRW(6) = 0.002;
400  }
401  if ((level == 2) && (subdetlevel == 2)) {
402  deltaRW(1) = 0.005;
403  deltaRW(2) = 0.005;
404  deltaRW(3) = 0.003;
405  deltaRW(4) = 0.001;
406  deltaRW(5) = 0.001;
407  deltaRW(6) = 0.001;
408  }
409  if ((level == 1) && (subdetlevel == 2)) {
410  deltaRW(1) = 0.005;
411  deltaRW(2) = 0.005;
412  deltaRW(3) = 0.003;
413  deltaRW(4) = 0.001;
414  deltaRW(5) = 0.001;
415  deltaRW(6) = 0.001;
416  }
417  //TIB
418  if ((level == 20) && (subdetlevel == 3)) {
419  deltaRW(1) = 0.2;
420  deltaRW(2) = 0.2;
421  deltaRW(3) = 0.2;
422  deltaRW(4) = 0.0017;
423  deltaRW(5) = 0.0017;
424  deltaRW(6) = 0.0017;
425  }
426  if ((level == 19) && (subdetlevel == 3)) {
427  deltaRW(1) = 0.1;
428  deltaRW(2) = 0.1;
429  deltaRW(3) = 0.1;
430  deltaRW(4) = 0.0008;
431  deltaRW(5) = 0.0008;
432  deltaRW(6) = 0.0008;
433  }
434  if ((level == 18) && (subdetlevel == 3)) {
435  deltaRW(1) = 0.04;
436  deltaRW(2) = 0.04;
437  deltaRW(3) = 0.02;
438  deltaRW(4) = 0.0006;
439  deltaRW(5) = 0.0006;
440  deltaRW(6) = 0.0006;
441  }
442  if ((level == 17) && (subdetlevel == 3)) {
443  deltaRW(1) = 0.03;
444  deltaRW(2) = 0.03;
445  deltaRW(3) = 0.015;
446  deltaRW(4) = 0.0004;
447  deltaRW(5) = 0.0004;
448  deltaRW(6) = 0.0004;
449  }
450  if ((level == 16) && (subdetlevel == 3)) {
451  deltaRW(1) = 0.01;
452  deltaRW(2) = 0.01;
453  deltaRW(3) = 0.01;
454  deltaRW(4) = 0.0004;
455  deltaRW(5) = 0.0002;
456  deltaRW(6) = 0.0002;
457  }
458  if ((level == 15) && (subdetlevel == 3)) {
459  deltaRW(1) = 0.01;
460  deltaRW(2) = 0.01;
461  deltaRW(3) = 0.01;
462  deltaRW(4) = 0.0004;
463  deltaRW(5) = 0.0002;
464  deltaRW(6) = 0.0002;
465  }
466  if ((level == 2) && (subdetlevel == 3)) {
467  deltaRW(1) = 0.005;
468  deltaRW(2) = 0.005;
469  deltaRW(3) = 0.005;
470  deltaRW(4) = 0.001;
471  deltaRW(5) = 0.0005;
472  deltaRW(6) = 0.0005;
473  }
474  if ((level == 1) && (subdetlevel == 3)) {
475  deltaRW(1) = 0.005;
476  deltaRW(2) = 0.005;
477  deltaRW(3) = 0.005;
478  deltaRW(4) = 0.001;
479  deltaRW(5) = 0.0005;
480  deltaRW(6) = 0.0005;
481  }
482  //TID
483  if ((level == 25) && (subdetlevel == 4)) {
484  deltaRW(1) = 0.2;
485  deltaRW(2) = 0.2;
486  deltaRW(3) = 0.2;
487  deltaRW(4) = 0.0013;
488  deltaRW(5) = 0.0013;
489  deltaRW(6) = 0.0013;
490  }
491  if ((level == 24) && (subdetlevel == 4)) {
492  deltaRW(1) = 0.05;
493  deltaRW(2) = 0.05;
494  deltaRW(3) = 0.05;
495  deltaRW(4) = 0.0004;
496  deltaRW(5) = 0.0004;
497  deltaRW(6) = 0.0004;
498  }
499  if ((level == 23) && (subdetlevel == 4)) {
500  deltaRW(1) = 0.01;
501  deltaRW(2) = 0.01;
502  deltaRW(3) = 0.01;
503  deltaRW(4) = 0.0001;
504  deltaRW(5) = 0.0001;
505  deltaRW(6) = 0.0001;
506  }
507  if ((level == 22) && (subdetlevel == 4)) {
508  deltaRW(1) = 0.005;
509  deltaRW(2) = 0.005;
510  deltaRW(3) = 0.005;
511  deltaRW(4) = 0.0001;
512  deltaRW(5) = 0.0001;
513  deltaRW(6) = 0.0001;
514  }
515  if ((level == 2) && (subdetlevel == 4)) {
516  deltaRW(1) = 0.005;
517  deltaRW(2) = 0.005;
518  deltaRW(3) = 0.005;
519  deltaRW(4) = 0.0005;
520  deltaRW(5) = 0.0005;
521  deltaRW(6) = 0.0005;
522  }
523  if ((level == 1) && (subdetlevel == 4)) {
524  deltaRW(1) = 0.005;
525  deltaRW(2) = 0.005;
526  deltaRW(3) = 0.005;
527  deltaRW(4) = 0.0005;
528  deltaRW(5) = 0.0005;
529  deltaRW(6) = 0.0005;
530  }
531  //TOB
532  if ((level == 30) && (subdetlevel == 5)) {
533  deltaRW(1) = 0.2;
534  deltaRW(2) = 0.2;
535  deltaRW(3) = 0.2;
536  deltaRW(4) = 0.0008;
537  deltaRW(5) = 0.0008;
538  deltaRW(6) = 0.0008;
539  }
540  if ((level == 29) && (subdetlevel == 5)) {
541  deltaRW(1) = 0.014;
542  deltaRW(2) = 0.014;
543  deltaRW(3) = 0.05;
544  deltaRW(4) = 0.0001;
545  deltaRW(5) = 0.0001;
546  deltaRW(6) = 0.0001;
547  }
548  if ((level == 28) && (subdetlevel == 5)) {
549  deltaRW(1) = 0.02;
550  deltaRW(2) = 0.02;
551  deltaRW(3) = 0.02;
552  deltaRW(4) = 0.0001;
553  deltaRW(5) = 0.0001;
554  deltaRW(6) = 0.0001;
555  }
556  if ((level == 27) && (subdetlevel == 5)) {
557  deltaRW(1) = 0.01;
558  deltaRW(2) = 0.01;
559  deltaRW(3) = 0.02;
560  deltaRW(4) = 0.0001;
561  deltaRW(5) = 0.0001;
562  deltaRW(6) = 0.0001;
563  }
564  if ((level == 2) && (subdetlevel == 5)) {
565  deltaRW(1) = 0.003;
566  deltaRW(2) = 0.003;
567  deltaRW(3) = 0.01;
568  deltaRW(4) = 0.0002;
569  deltaRW(5) = 0.0002;
570  deltaRW(6) = 0.0002;
571  }
572  if ((level == 1) && (subdetlevel == 5)) {
573  deltaRW(1) = 0.003;
574  deltaRW(2) = 0.003;
575  deltaRW(3) = 0.01;
576  deltaRW(4) = 0.0002;
577  deltaRW(5) = 0.0002;
578  deltaRW(6) = 0.0002;
579  }
580  //TEC
581  if ((level == 36) && (subdetlevel == 6)) {
582  deltaRW(1) = 0.2;
583  deltaRW(2) = 0.2;
584  deltaRW(3) = 0.2;
585  deltaRW(4) = 0.0008;
586  deltaRW(5) = 0.0008;
587  deltaRW(6) = 0.0008;
588  }
589  if ((level == 35) && (subdetlevel == 6)) {
590  deltaRW(1) = 0.05;
591  deltaRW(2) = 0.05;
592  deltaRW(3) = 0.05;
593  deltaRW(4) = 0.0003;
594  deltaRW(5) = 0.0003;
595  deltaRW(6) = 0.0003;
596  }
597  if ((level == 34) && (subdetlevel == 6)) {
598  deltaRW(1) = 0.01;
599  deltaRW(2) = 0.01;
600  deltaRW(3) = 0.02;
601  deltaRW(4) = 0.00005;
602  deltaRW(5) = 0.00005;
603  deltaRW(6) = 0.00005;
604  }
605  if ((level == 33) && (subdetlevel == 6)) {
606  deltaRW(1) = 0.01;
607  deltaRW(2) = 0.01;
608  deltaRW(3) = 0.02;
609  deltaRW(4) = 0.0001;
610  deltaRW(5) = 0.0001;
611  deltaRW(6) = 0.0001;
612  }
613  if ((level == 32) && (subdetlevel == 6)) {
614  deltaRW(1) = 0.007;
615  deltaRW(2) = 0.007;
616  deltaRW(3) = 0.015;
617  deltaRW(4) = 0.00015;
618  deltaRW(5) = 0.00015;
619  deltaRW(6) = 0.00015;
620  }
621  if ((level == 2) && (subdetlevel == 6)) {
622  deltaRW(1) = 0.002;
623  deltaRW(2) = 0.002;
624  deltaRW(3) = 0.005;
625  deltaRW(4) = 0.0001;
626  deltaRW(5) = 0.0001;
627  deltaRW(6) = 0.0001;
628  }
629  if ((level == 1) && (subdetlevel == 6)) {
630  deltaRW(1) = 0.002;
631  deltaRW(2) = 0.002;
632  deltaRW(3) = 0.005;
633  deltaRW(4) = 0.0001;
634  deltaRW(5) = 0.0001;
635  deltaRW(6) = 0.0001;
636  }
637 
638  return deltaRW;
639 }

References personalPlayback::level.

◆ setGeometry()

void CreateSurveyRcds::setGeometry ( Alignable ali)
private

module which modifies the geometry

Definition at line 64 of file CreateSurveyRcds.cc.

64  {
65  const align::Alignables& comp = ali->components();
66  unsigned int nComp = comp.size();
67  //move then do for lower level object
68  //for issue of det vs detunit
69  bool usecomps = true;
70  if ((ali->alignableObjectId() == 2) && (nComp >= 1))
71  usecomps = false;
72  for (unsigned int i = 0; i < nComp; ++i) {
73  if (usecomps)
74  setGeometry(comp[i]);
75  }
76  DetId id(ali->id());
77  int subdetlevel = id.subdetId();
78  int level = ali->alignableObjectId();
79 
80  //for random misalignment
81  if (m_generatedRandom) {
82  if (subdetlevel > 0) {
84 
85  double value0 = CLHEP::RandGauss::shoot(0, value[0]);
86  double value1 = CLHEP::RandGauss::shoot(0, value[1]);
87  double value2 = CLHEP::RandGauss::shoot(0, value[2]);
88  double value3 = CLHEP::RandGauss::shoot(0, value[3]);
89  double value4 = CLHEP::RandGauss::shoot(0, value[4]);
90  double value5 = CLHEP::RandGauss::shoot(0, value[5]);
91 
92  //move/rotate the surface
94  align::Scalar diffWx = value3;
95  align::Scalar diffWy = value4;
96  align::Scalar diffWz = value5;
97  ali->move(ali->surface().toGlobal(diffR));
98  ali->rotateAroundLocalX(diffWx);
99  ali->rotateAroundLocalY(diffWy);
100  ali->rotateAroundLocalZ(diffWz);
101  }
102  }
103 
104  // for simple misalignments
105  if (m_generatedSimple) {
106  if ((level == 2) || ((level == 1) && (ali->mother()->alignableObjectId() != 2))) {
107  const double constMis = m_inputSimpleMis;
108  const double dAngle = constMis / ali->surface().length();
109  //std::cout << "Shift: " << constMis << ", Rot: " << dAngle << std::endl;
110  double value0 = CLHEP::RandGauss::shoot(0, constMis);
111  double value1 = CLHEP::RandGauss::shoot(0, constMis);
112  double value2 = CLHEP::RandGauss::shoot(0, constMis);
113  double value3 = CLHEP::RandGauss::shoot(0, dAngle);
114  double value4 = CLHEP::RandGauss::shoot(0, dAngle);
115  double value5 = CLHEP::RandGauss::shoot(0, dAngle);
116 
118  ali->move(ali->surface().toGlobal(diffR));
119  align::Scalar diffWx = value3;
120  align::Scalar diffWy = value4;
121  align::Scalar diffWz = value5;
122  ali->rotateAroundLocalX(diffWx);
123  ali->rotateAroundLocalY(diffWy);
124  ali->rotateAroundLocalZ(diffWz);
125  }
126  }
127 }

References Alignable::alignableObjectId(), AlCaHLTBitMon_QueryRunRegistry::comp, Alignable::components(), align::diffR(), getStructureErrors(), mps_fire::i, triggerObjects_cff::id, Alignable::id(), AlignableSurface::length(), personalPlayback::level, m_generatedRandom, m_generatedSimple, m_inputSimpleMis, Alignable::mother(), Alignable::move(), Alignable::rotateAroundLocalX(), Alignable::rotateAroundLocalY(), Alignable::rotateAroundLocalZ(), Alignable::surface(), AlignableSurface::toGlobal(), HLT_FULL_cff::value1, and HLT_FULL_cff::value2.

Referenced by analyze().

◆ setSurveyErrors()

void CreateSurveyRcds::setSurveyErrors ( Alignable ali)
private

module which creates/inserts the survey errors

Definition at line 129 of file CreateSurveyRcds.cc.

129  {
130  const align::Alignables& comp = ali->components();
131  unsigned int nComp = comp.size();
132  //move then do for lower level object
133  //for issue of det vs detunit
134  for (unsigned int i = 0; i < nComp; ++i) {
136  }
137 
138  DetId id(ali->id());
139  int subdetlevel = id.subdetId();
140  int level = ali->alignableObjectId();
141 
143 
144  double error0 = error[0];
145  double error1 = error[1];
146  double error2 = error[2];
147  double error3 = error[3];
148  double error4 = error[4];
149  double error5 = error[5];
150 
151  // ----------------INFLATING ERRORS----------------------
152  // inflating sensitive coordinates in each subdetector
153  // tib
154  if ((level <= 2) && (subdetlevel == 3)) {
155  error0 = 0.01;
156  error5 = 0.001;
157  if ((level == 2) && (nComp == 2)) {
158  error1 = 0.01;
159  }
160  }
161  // tid
162  if ((level <= 2) && (subdetlevel == 4)) {
163  error0 = 0.01;
164  error1 = 0.01;
165  error2 = 0.01;
166  error3 = 0.001;
167  error4 = 0.001;
168  error5 = 0.001;
169  //error0=0.01; error1=0.002; error2=0.002; error3=0.0002; error4=0.0002; error5=0.001;
170  //if ((level == 2)&&(nComp == 2)){
171  // error1 = 0.01;
172  //}
173  }
174  if ((level == 23) && (subdetlevel == 4)) { //Ring is a Disk
175  error0 = 0.02;
176  error1 = 0.02;
177  error2 = 0.03;
178  error3 = 0.0002;
179  error4 = 0.0002;
180  error5 = 0.0002;
181  }
182  if ((level == 22) && (subdetlevel == 4)) { //Side of a Ring
183  error0 = 0.01;
184  error1 = 0.01;
185  error2 = 0.01;
186  error3 = 0.0002;
187  error4 = 0.0002;
188  error5 = 0.0002;
189  }
190  // tob
191  if ((level <= 2) && (subdetlevel == 5)) {
192  //error0 = 0.015; error1 = 0.015; error2 = 0.05; error3 = 0.001; error4 = 0.001; error5 = 0.001;
193  error0 = 0.015;
194  error1 = 0.003;
195  error2 = 0.003;
196  error3 = 0.0002;
197  error4 = 0.0002;
198  error5 = 0.001;
199  if ((level == 2) && (nComp == 2)) {
200  error1 = 0.015;
201  }
202  }
203  if ((level == 27) && (subdetlevel == 5)) { //Rod in a Layer
204  error0 = 0.02;
205  error1 = 0.02;
206  error2 = 0.03;
207  error3 = 0.001;
208  error4 = 0.001;
209  error5 = 0.001;
210  }
211  // tec
212  if ((level <= 2) && (subdetlevel == 6)) {
213  error0 = 0.02;
214  error5 = 0.0005;
215  if ((level == 2) && (nComp == 2)) {
216  error1 = 0.02;
217  }
218  }
219  if ((level == 34) && (subdetlevel == 6)) { //Side on a Disk
220  error0 = 0.01;
221  error1 = 0.01;
222  error2 = 0.02;
223  error3 = 0.00005;
224  error4 = 0.00005;
225  error5 = 0.00005;
226  }
227  if ((level == 33) && (subdetlevel == 6)) { //Petal on a Side of a Disk
228  error0 = 0.01;
229  error1 = 0.01;
230  error2 = 0.02;
231  error3 = 0.0001;
232  error4 = 0.0001;
233  error5 = 0.0001;
234  }
235  if ((level == 32) && (subdetlevel == 6)) { //Ring on a Petal
236  error0 = 0.007;
237  error1 = 0.007;
238  error2 = 0.015;
239  error3 = 0.00015;
240  error4 = 0.00015;
241  error5 = 0.00015;
242  }
243  // ----------------INFLATING ERRORS----------------------
244 
245  //create the error matrix
246  align::ErrorMatrix error_Matrix;
247  double* errorData = error_Matrix.Array();
248  errorData[0] = error0 * error0;
249  errorData[2] = error1 * error1;
250  errorData[5] = error2 * error2;
251  errorData[9] = error3 * error3;
252  errorData[14] = error4 * error4;
253  errorData[20] = error5 * error5;
254  errorData[1] = 0.0;
255  errorData[3] = 0.0;
256  errorData[4] = 0.0;
257  errorData[6] = 0.0;
258  errorData[7] = 0.0;
259  errorData[8] = 0.0;
260  errorData[10] = 0.0;
261  errorData[11] = 0.0;
262  errorData[12] = 0.0;
263  errorData[13] = 0.0;
264  errorData[15] = 0.0;
265  errorData[16] = 0.0;
266  errorData[17] = 0.0;
267  errorData[18] = 0.0;
268  errorData[19] = 0.0;
269 
270  ali->setSurvey(new SurveyDet(ali->surface(), error_Matrix));
271 }

References Alignable::alignableObjectId(), AlCaHLTBitMon_QueryRunRegistry::comp, Alignable::components(), relativeConstraints::error, getStructureErrors(), mps_fire::i, triggerObjects_cff::id, Alignable::id(), personalPlayback::level, Alignable::setSurvey(), and Alignable::surface().

Referenced by analyze().

Member Data Documentation

◆ aliErrToken_

const edm::ESGetToken<AlignmentErrorsExtended, TrackerAlignmentErrorExtendedRcd> CreateSurveyRcds::aliErrToken_
private

Definition at line 61 of file CreateSurveyRcds.h.

Referenced by analyze().

◆ aliToken_

const edm::ESGetToken<Alignments, TrackerAlignmentRcd> CreateSurveyRcds::aliToken_
private

Definition at line 60 of file CreateSurveyRcds.h.

Referenced by analyze().

◆ geomDetToken_

const edm::ESGetToken<GeometricDet, IdealGeometryRecord> CreateSurveyRcds::geomDetToken_
private

Definition at line 57 of file CreateSurveyRcds.h.

Referenced by analyze().

◆ m_generatedRandom

bool CreateSurveyRcds::m_generatedRandom
private

Definition at line 65 of file CreateSurveyRcds.h.

Referenced by CreateSurveyRcds(), and setGeometry().

◆ m_generatedSimple

bool CreateSurveyRcds::m_generatedSimple
private

Definition at line 66 of file CreateSurveyRcds.h.

Referenced by CreateSurveyRcds(), and setGeometry().

◆ m_inputGeom

std::string CreateSurveyRcds::m_inputGeom
private

Definition at line 63 of file CreateSurveyRcds.h.

Referenced by analyze(), and CreateSurveyRcds().

◆ m_inputSimpleMis

double CreateSurveyRcds::m_inputSimpleMis
private

Definition at line 64 of file CreateSurveyRcds.h.

Referenced by CreateSurveyRcds(), and setGeometry().

◆ ptitpToken_

Definition at line 59 of file CreateSurveyRcds.h.

Referenced by analyze().

◆ ptpToken_

const edm::ESGetToken<PTrackerParameters, PTrackerParametersRcd> CreateSurveyRcds::ptpToken_
private

Definition at line 58 of file CreateSurveyRcds.h.

Referenced by analyze().

◆ textFileName

std::string CreateSurveyRcds::textFileName
private

Definition at line 70 of file CreateSurveyRcds.h.

◆ tTopoToken_

const edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> CreateSurveyRcds::tTopoToken_
private

Definition at line 56 of file CreateSurveyRcds.h.

Referenced by analyze().

◆ uIdMap

SurveyInputTextReader::MapType CreateSurveyRcds::uIdMap
private

Definition at line 68 of file CreateSurveyRcds.h.

Vector3DBase
Definition: Vector3DBase.h:8
personalPlayback.level
level
Definition: personalPlayback.py:22
CreateSurveyRcds::ptpToken_
const edm::ESGetToken< PTrackerParameters, PTrackerParametersRcd > ptpToken_
Definition: CreateSurveyRcds.h:58
AlCaHLTBitMon_QueryRunRegistry.comp
string comp
Definition: AlCaHLTBitMon_QueryRunRegistry.py:249
CreateSurveyRcds::geomDetToken_
const edm::ESGetToken< GeometricDet, IdealGeometryRecord > geomDetToken_
Definition: CreateSurveyRcds.h:57
mps_fire.i
i
Definition: mps_fire.py:428
SurveyInputBase::addComponent
static void addComponent(Alignable *)
Definition: SurveyInputBase.cc:13
PTrackerParameters
Definition: PTrackerParameters.h:6
CreateSurveyRcds::m_generatedSimple
bool m_generatedSimple
Definition: CreateSurveyRcds.h:66
CreateSurveyRcds::aliErrToken_
const edm::ESGetToken< AlignmentErrorsExtended, TrackerAlignmentErrorExtendedRcd > aliErrToken_
Definition: CreateSurveyRcds.h:61
CreateSurveyRcds::getStructureErrors
AlgebraicVector getStructureErrors(int, int)
default values for survey uncertainty
Definition: CreateSurveyRcds.cc:643
TrackerGeomBuilderFromGeometricDet::build
TrackerGeometry * build(const GeometricDet *gd, const PTrackerAdditionalParametersPerDet *ptitp, const PTrackerParameters &ptp, const TrackerTopology *tTopo)
Definition: TrackerGeomBuilderFromGeometricDet.cc:44
TrackerTopology
Definition: TrackerTopology.h:16
Alignable
Definition: Alignable.h:27
CreateSurveyRcds::m_inputGeom
std::string m_inputGeom
Definition: CreateSurveyRcds.h:63
PTrackerAdditionalParametersPerDet
Definition: PTrackerAdditionalParametersPerDet.h:9
align::ErrorMatrix
math::Error< 6 >::type ErrorMatrix
Definition: Definitions.h:37
align::diffR
GlobalVector diffR(const GlobalVectors &current, const GlobalVectors &nominal)
Definition: Utilities.cc:158
CreateSurveyRcds::m_generatedRandom
bool m_generatedRandom
Definition: CreateSurveyRcds.h:65
AlignableSurface::length
align::Scalar length() const
Definition: AlignableSurface.h:32
relativeConstraints.error
error
Definition: relativeConstraints.py:53
GeometryAligner::applyAlignments
void applyAlignments(const C *geometry, const Alignments *alignments, const AlignmentErrorsExtended *alignmentErrors, const AlignTransform &globalCoordinates)
Definition: GeometryAligner.h:52
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
align::Scalar
double Scalar
Definition: Definitions.h:25
CreateSurveyRcds::ptitpToken_
const edm::ESGetToken< PTrackerAdditionalParametersPerDet, PTrackerAdditionalParametersPerDetRcd > ptitpToken_
Definition: CreateSurveyRcds.h:59
SurveyDet
Definition: SurveyDet.h:15
DetId
Definition: DetId.h:17
Alignable::setSurvey
void setSurvey(const SurveyDet *)
Set survey info.
Definition: Alignable.cc:266
CreateSurveyRcds::tTopoToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
Definition: CreateSurveyRcds.h:56
AlgebraicVector
CLHEP::HepVector AlgebraicVector
Definition: AlgebraicObjects.h:13
Alignable::alignableObjectId
virtual StructureType alignableObjectId() const =0
Return the alignable type identifier.
CreateSurveyRcds::m_inputSimpleMis
double m_inputSimpleMis
Definition: CreateSurveyRcds.h:64
AlignableTracker
Definition: AlignableTracker.h:17
GeometricDet
Definition: GeometricDet.h:31
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
AlignableSurface::toGlobal
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
Definition: AlignableSurface.cc:15
Alignable::surface
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
Definition: Alignable.h:132
AlignTransform
Definition: AlignTransform.h:15
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
HLT_FULL_cff.value2
value2
Definition: HLT_FULL_cff.py:9891
Alignable::id
align::ID id() const
Return the ID of Alignable, i.e. DetId of 'first' component GeomDet(Unit).
Definition: Alignable.h:180
Alignable::rotateAroundLocalZ
virtual void rotateAroundLocalZ(Scalar radians)
Rotation around local z-axis.
Definition: Alignable.cc:183
value
Definition: value.py:1
CreateSurveyRcds::setSurveyErrors
void setSurveyErrors(Alignable *)
module which creates/inserts the survey errors
Definition: CreateSurveyRcds.cc:129
AlignmentErrorsExtended
Definition: AlignmentErrorsExtended.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Alignable::rotateAroundLocalX
virtual void rotateAroundLocalX(Scalar radians)
Rotation around local x-axis.
Definition: Alignable.cc:155
Alignable::move
virtual void move(const GlobalVector &displacement)=0
Movement with respect to the global reference frame.
looper.cfg
cfg
Definition: looper.py:296
HLT_FULL_cff.value1
value1
Definition: HLT_FULL_cff.py:9892
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
Alignable::rotateAroundLocalY
virtual void rotateAroundLocalY(Scalar radians)
Rotation around local y-axis.
Definition: Alignable.cc:169
CreateSurveyRcds::setGeometry
void setGeometry(Alignable *)
module which modifies the geometry
Definition: CreateSurveyRcds.cc:64
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition: EDConsumerBase.h:206
TrackerGeomBuilderFromGeometricDet
Definition: TrackerGeomBuilderFromGeometricDet.h:18
Alignable::components
virtual const Alignables & components() const =0
Return vector of all direct components.
Alignments
Definition: Alignments.h:10
GeometryAligner
Class to update a given geometry with a set of alignments.
Definition: GeometryAligner.h:33
CreateSurveyRcds::aliToken_
const edm::ESGetToken< Alignments, TrackerAlignmentRcd > aliToken_
Definition: CreateSurveyRcds.h:60
SurveyInputBase::detector
static Alignable * detector()
Get alignable detector as read from input.
Definition: SurveyInputBase.h:41
Alignable::mother
Alignable * mother() const
Return pointer to container alignable (if any)
Definition: Alignable.h:91
TrackerGeometry
Definition: TrackerGeometry.h:14