All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fix_cmake.pl
Go to the documentation of this file.
1 use strict;
2 
3 use vars qw(%dir_list);
4 BEGIN { %dir_list = (
5  "Geometry" => "larcore_Geometry",
6  "Geometry_service" => "larcore_Geometry_Geometry_service",
7  "AuxDetGeometry_service" => "larcore_Geometry_AuxDetGeometry_service",
8  "DumpChannelMap_module" => "larcore_Geometry_DumpChannelMap_module",
9  "StandardGeometryHelper_service" => "larcore_Geometry_StandardGeometryHelper_service",
10  "SummaryData" => "larcore_SummaryData",
11  "SummaryData_dict" => "larcore_SummaryData_dict",
12  "AnalysisAlg" => "lardata_AnalysisAlg",
13  "AnalysisBase" => "lardata_AnalysisBase",
14  "DetectorInfo" => "lardata_DetectorInfo",
15  "MCBase" => "lardata_MCBase",
16  "OpticalDetectorData" => "lardata_OpticalDetectorData",
17  "RawData" => "lardata_RawData",
18  "RawData_utils" => "lardata_RawData_utils",
19  "RecoBase" => "lardata_RecoBase",
20  "RecoBase_dict" => "lardata_RecoBase_dict",
21  "RecoBaseArt" => "lardata_RecoBaseArt",
22  "RecoObjects" => "lardata_RecoObjects",
23  "Utilities" => "lardata_Utilities",
24  "DetectorProperties_service" => "",
25  "lardata_Utilities_DetectorProperties_service" => "",
26  "ComputePi_module" => "lardata_Utilities_ComputePi_module",
27  "DatabaseUtil_service" => "lardata_Utilities_DatabaseUtil_service",
28  "FileCatalogMetadataExtras_service" => "lardata_Utilities_FileCatalogMetadataExtras_service",
29  "Utilities_LArFFT_service" => "lardata_Utilities_Utilities_LArFFT_service",
30  "LArProperties_service" => "",
31  "lardata_Utilities_LArProperties_service" => "",
32  "MemoryPeakReporter_service" => "lardata_Utilities_MemoryPeakReporter_service",
33  "AnalysisBase_dict" => "lardata_AnalysisBase_dict",
34  "MCBase_dict" => "lardata_MCBase_dict",
35  "OpticalDetectorData_dict" => "lardata_OpticalDetectorData_dict",
36  "ComputePi_module" => "lardata_Utilities_ComputePi_module",
37  "FileCatalogMetadataExtras_service" => "lardata_Utilities_FileCatalogMetadataExtras_service",
38  "LArFFT_service" => "lardata_Utilities_LArFFT_service",
39  "MemoryPeakReporter_service" => "lardata_Utilities_MemoryPeakReporter_service",
40  "LArPropertiesServiceArgoNeuT_service" => "lardata_Utilities_LArPropertiesServiceArgoNeuT_service",
41  "DatabaseUtil_service" => "lardata_Utilities_DatabaseUtil_service",
42  "TimeService_service" => "",
43  "lardata_Utilities_TimeService_service" => "",
44  "DetectorClocksServiceStandard_service" => "lardata_DetectorInfoServices_DetectorClocksServiceStandard_service",
45  "DetectorPropertiesServiceStandard_service" => "lardata_DetectorInfoServices_DetectorPropertiesServiceStandard_service",
46  "LArPropertiesServiceStandard_service" => "lardata_DetectorInfoServices_LArPropertiesServiceStandard_service",
47  "LArRawInputSource_source" => "lardata_RawData_utils_LArRawInputSource_source",
48  "LArPropTest_module" => "test_DetectorInfoServices_LArPropTest_module",
49  "ServicePackTest_module" => "test_DetectorInfoServices_ServicePackTest_module",
50  "CalibrationDBI_IOVData" => "larevt_CalibrationDBI_IOVData",
51  "CalibrationDBI_LArBackend" => "larevt_CalibrationDBI_LArBackend",
52  "CalibrationDBI_Providers" => "larevt_CalibrationDBI_Providers",
53  "Filters" => "larevt_Filters",
54  "SpaceCharge" => "larevt_SpaceCharge",
55  "CalWireAna_module" => "larevt_CalData_CalWireAna_module",
56  "CalWire_module" => "larevt_CalData_CalWire_module",
57  "CalWireT962_module" => "larevt_CalData_CalWireT962_module",
58  "DumpWires_module" => "larevt_CalData_DumpWires_module",
59  "SIOVChannelStatusService_service" => "larevt_CalibrationDBI_Services_SIOVChannelStatusService_service",
60  "SIOVDetPedestalService_service" => "larevt_CalibrationDBI_Services_SIOVDetPedestalService_service",
61  "ADCFilter_module" => "larevt_Filters_ADCFilter_module",
62  "EmptyFilter_module" => "larevt_Filters_EmptyFilter_module",
63  "EventFilter_module" => "larevt_Filters_EventFilter_module",
64  "FinalStateParticleFilter_module" => "larevt_Filters_FinalStateParticleFilter_module",
65  "MuonFilter_module" => "larevt_Filters_MuonFilter_module",
66  "SimpleChannelStatusService_service" => "larevt_Filters_SimpleChannelStatusService_service",
67  "SmallClusterFilter_module" => "larevt_Filters_SmallClusterFilter_module",
68  "SpaceCharge_service" => "larevt_SpaceCharge_SpaceCharge_service",
69  "DetSim" => "larsim_DetSim",
70  "EventGenerator" => "larsim_EventGenerator",
71  "MergeSimSources" => "larsim_LArG4",
72  "LArG4" => "larsim_LArG4",
73  "MCCheater" => "larsim_MCCheater",
74  "MCSTReco" => "larsim_MCSTReco",
75  "PhotonPropagation" => "larsim_PhotonPropagation",
76  "SimFilters" => "larsim_SimFilters",
77  "Simulation" => "larsim_Simulation",
78  "TriggerAlgo" => "larsim_TriggerAlgo",
79  "DumpRawDigits_module" => "larsim_DetSim_DumpRawDigits_module",
80  "SimWireAna_module" => "larsim_DetSim_SimWireAna_module",
81  "WienerFilterAna_module" => "larsim_DetSim_WienerFilterAna_module",
82  "CosmicsGen_module" => "larsim_EventGenerator_CRY_CosmicsGen_module",
83  "GeneratedEventTimestamp_plugin" => "larsim_EventGenerator_GeneratedEventTimestamp_plugin",
84  "PhotonVisibilityService_service" => "larsim_PhotonPropagation_PhotonVisibilityService_service",
85  "LArG4Parameters_service" => "larsim_Simulation_LArG4Parameters_service",
86  "LArVoxelCalculator_service" => "larsim_Simulation_LArVoxelCalculator_service",
87  "TriggerAlgoBase_service" => "larsim_TriggerAlgo_TriggerAlgoBase_service",
88  "TriggerAlgoMicroBoone_service" => "larsim_TriggerAlgo_TriggerAlgoMicroBoone_service",
89  "GeneratedEventTimestamp_plugin" => "larsim_EventGenerator_GeneratedEventTimestamp_plugin",
90  "BackTracker_service" => "larsim_MCCheater_BackTracker_service",
91  "ClusterFinder" => "larreco_ClusterFinder",
92  "Segmentation2D" => "larreco_ClusterFinder_TrackShowerSplitter_Segmentation2D",
93  "DirOfGamma" => "larreco_DirOfGamma",
94  "EventFinder" => "larreco_EventFinder",
95  "Genfit" => "larreco_Genfit",
96  "RFFHitFitter" => "larreco_HitFinder",
97  "HitFinder" => "larreco_HitFinder",
98  "MCComp" => "larreco_MCComp",
99  "RecoAlg" => "larreco_RecoAlg",
100  "Cluster3DAlgs" => "larreco_RecoAlg_Cluster3DAlgs",
101  "ClusterRecoUtil" => "larreco_RecoAlg_ClusterRecoUtil",
102  "CMTAlgMatch" => "larreco_RecoAlg_CMTool_CMTAlgMatch",
103  "CMTAlgMerge" => "larreco_RecoAlg_CMTool_CMTAlgMerge",
104  "CMTAlgPriority" => "larreco_RecoAlg_CMTool_CMTAlgPriority",
105  "CMToolApp" => "larreco_RecoAlg_CMTool_CMToolApp",
106  "CMToolBase" => "larreco_RecoAlg_CMTool_CMToolBase",
107  "PMAlg" => "larreco_RecoAlg_PMAlg",
108  "ShowerFinder" => "larreco_ShowerFinder",
109  "ShowerReco3D" => "larreco_ShowerFinder_ShowerReco3D",
110  "SpacePointFinder" => "larreco_SpacePointFinder",
111  "TrackFinder" => "larreco_TrackFinder",
112  "VertexFinder" => "larreco_VertexFinder",
113  "WireCell" => "larreco_WireCell",
114  "AggregateEvent_module" => "larreco_EventFinder_AggregateEvent_module",
115  "EventCheater_module" => "larreco_EventFinder_EventCheater_module",
116  "EventMaker_module" => "larreco_EventFinder_EventMaker_module",
117  "DumpTracks_module" => "larreco_TrackFinder_DumpTracks_module",
118  "HarrisVertexFinder_module" => "larreco_VertexFinder_HarrisVertexFinder_module",
119  "LArPandoraAnalysis" => "larpandora_LArPandoraAnalysis",
120  "LArPandoraInterface" => "larpandora_LArPandoraInterface",
121  "MicroBooNEPandora" => "larpandora_MicroBooNEPandora",
122  "Calorimetry" => "larana_Calorimetry",
123  "CosmicRemoval" => "larana_CosmicRemoval",
124  "FlashHypothesis" => "larana_OpticalDetector",
125  "SimPhotonCounter" => "larana_OpticalDetector",
126  "FlashHypothesisComparison" => "larana_OpticalDetector",
127  "OpFlashAnaAlg" => "larana_OpticalDetector",
128  "OpticalDetector" => "larana_OpticalDetector",
129  "ParticleIdentification" => "larana_ParticleIdentification",
130  "DefaultOpDetResponse_service" => "larana_OpticalDetector_DefaultOpDetResponse_service",
131  "MicrobooneOpDetResponse_service" => "larana_OpticalDetector_MicrobooneOpDetResponse_service",
132  "OpDigiProperties_service" => "larana_OpticalDetector_OpDigiProperties_service",
133  "Chi2ParticleID_module" => "larana_ParticleIdentification_Chi2ParticleID_module",
134  "PIDAAnalyzer_module" => "larana_ParticleIdentification_PIDAAnalyzer_module",
135  "BezierCalorimetry_module" => "larana_Calorimetry_BezierCalorimetry_module",
136  "Calorimetry_module" => "larana_Calorimetry_Calorimetry_module",
137  "GeneralCalorimetry_module" => "larana_Calorimetry_GeneralCalorimetry_module",
138  "PrintCalorimetry_module" => "larana_Calorimetry_PrintCalorimetry_module",
139  "TrackCalorimetry_module" => "larana_Calorimetry_TrackCalorimetry_module",
140  "CosmicClusterTagger_module" => "larana_CosmicRemoval_CosmicClusterTagger_module",
141  "CRHitRemovalByPCA_module" => "larana_CosmicRemoval_CRHitRemovalByPCA_module",
142  "CosmicRemovalAna_module" => "larana_CosmicRemoval_CosmicRemovalAna_module",
143  "BeamFlashTrackMatchTagger_module" => "larana_CosmicRemoval_BeamFlashTrackMatchTagger_module",
144  "CRHitRemoval_module" => "larana_CosmicRemoval_CRHitRemoval_module",
145  "CosmicTrackTagger_module" => "larana_CosmicRemoval_CosmicTrackTagger_module",
146  "CosmicPFParticleTagger_module" => "larana_CosmicRemoval_CosmicPFParticleTagger_module",
147  "CosmicPCAxisTagger_module" => "larana_CosmicRemoval_CosmicPCAxisTagger_module",
148  "FlashClusterMatch_module" => "larana_OpticalDetector_FlashClusterMatch_module",
149  "OpHitAna_module" => "larana_OpticalDetector_OpHitAna_module",
150  "OpFlashSimpleAna_module" => "larana_OpticalDetector_OpFlashSimpleAna_module",
151  "FIFOHistogramAna_module" => "larana_OpticalDetector_FIFOHistogramAna_module",
152  "OpticalRecoAna_module" => "larana_OpticalDetector_OpticalRecoAna_module",
153  "OpFlashMCTruthAna_module" => "larana_OpticalDetector_OpFlashMCTruthAna_module",
154  "OpFlashAna_module" => "larana_OpticalDetector_OpFlashAna_module",
155  "LEDCalibrationAna_module" => "larana_OpticalDetector_LEDCalibrationAna_module",
156  "SimPhotonCounter_module" => "larana_OpticalDetector_SimPhotonCounter_module",
157  "OpticalRawDigitReformatter_module" => "larana_OpticalDetector_OpticalRawDigitReformatter_module",
158  "BeamFlashCompatibilityCheck_module" => "larana_OpticalDetector_BeamFlashCompatibilityCheck_module",
159  "TrackTimeAssocAna_module" => "larana_OpticalDetector_TrackTimeAssocAna_module",
160  "OpMCDigi_module" => "larana_OpticalDetector_OpMCDigi_module",
161  "OpFlashFinder_module" => "larana_OpticalDetector_OpFlashFinder_module",
162  "OpDigiAna_module" => "larana_OpticalDetector_OpDigiAna_module",
163  "OptDetDigitizer_module" => "larana_OpticalDetector_OptDetDigitizer_module",
164  "BoDataFrameInput_module" => "larana_OpticalDetector_BoDataFrameInput_module",
165  "PMTAna_module" => "larana_OpticalDetector_PMTAna_module",
166  "FlashHypothesisAna_module" => "larana_OpticalDetector_FlashHypothesisAna_module",
167  "FlashPurityCheckAna_module" => "larana_OpticalDetector_FlashPurityCheckAna_module",
168  "TrackTimeAssoc_module" => "larana_OpticalDetector_TrackTimeAssoc_module",
169  "OpHitFinder" => "larana_OpticalDetector_OpHitFinder",
170  "PhotonCounterT0Matching_module" => "larana_T0Finder_PhotonCounterT0Matching_module",
171  "MCTruthT0Matching_module" => "larana_T0Finder_MCTruthT0Matching_module",
172  "T0Finder" => "larana_T0Finder",
173  "EventDisplay" => "lareventdisplay_EventDisplay",
174  "AnalysisDrawingOptions_service" => "lareventdisplay_EventDisplay_AnalysisDrawingOptions_service",
175  "ColorDrawingOptions_service" => "lareventdisplay_EventDisplay_ColorDrawingOptions_service",
176  "EvdLayoutOptions_service" => "lareventdisplay_EventDisplay_EvdLayoutOptions_service",
177  "InfoTransfer_service" => "lareventdisplay_EventDisplay_InfoTransfer_service",
178  "RawDrawingOptions_service" => "lareventdisplay_EventDisplay_RawDrawingOptions_service",
179  "RecoDrawingOptions_service" => "lareventdisplay_EventDisplay_RecoDrawingOptions_service",
180  "SimulationDrawingOptions_service" => "lareventdisplay_EventDisplay_SimulationDrawingOptions_service",
181  "AnalysisExample" => "larexamples_AnalysisExample",
182  "AnalysisExample_module" => "larexamples_AnalysisExample_AnalysisExample_module"
183  ); }
184 
185 foreach my $lib (sort keys %dir_list) {
186  next if m&add_subdirectory&i;
187  next if m&simple_plugin&i;
188  next if m&SUBDIRNAME&i;
189  next if m&SUBDIRS&i;
190  #s&\b\Q${lib}\E([^\.\s]*\b)([^\.]|$)&$dir_list{$lib}${1}${2}&g and last;
191  s&\b\Q${lib}\E\b([^\.]|$)&$dir_list{$lib}${1}${2}&g and last;
192 }
use File::Basename qw(fileparse)
BEGIN_PROLOG g
tuple m
now if test mode generate materials, CRT shell, world, gdml header else just generate CRT shell for u...
my($xml, $fcl, $workdir, $check, $merge)
BEGIN
Definition: fix_cmake.pl:4
return match has_match and(match.match_pdg==11 or match.match_pdg==-11)
use strict
Definition: SubmitCommand.pl:8
then echo File list $list not found else cat $list while read file do echo $file sed s
Definition: file_to_url.sh:60
foreach my $lib(sort keys%dir_list)
Definition: fix_cmake.pl:185