All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fix_headers_artdatahelper.pl
Go to the documentation of this file.
1 use strict;
2 
3 use vars qw(%subdir_list);
4 use vars qw(%header_list);
5 
6 # explicit headers to avoid conflicts with experiment code
7 BEGIN { %header_list = (
8 "lardata/RecoBaseArt/Dumpers/DumpAssociations.h" => "lardata/ArtDataHelper/Dumpers/DumpAssociations.h",
9 "lardata/RecoBaseArt/Dumpers/NewLine.h" => "lardata/ArtDataHelper/Dumpers/NewLine.h",
10 "lardata/RecoBaseArt/Dumpers/PCAxisDumpers.h" => "lardata/ArtDataHelper/Dumpers/PCAxisDumpers.h",
11 "lardata/RecoBaseArt/Dumpers/SpacePointDumpers.h" => "lardata/ArtDataHelper/Dumpers/SpacePointDumpers.h",
12 "lardata/RecoBaseArt/Dumpers/hexfloat.h" => "lardata/ArtDataHelper/Dumpers/hexfloat.h",
13 "lardata/RecoBaseArt/FindAllP.h" => "lardata/ArtDataHelper/FindAllP.h",
14 "lardata/RecoBaseArt/HitCreator.h" => "lardata/ArtDataHelper/HitCreator.h",
15 "lardata/RecoBaseArt/HitUtils.h" => "lardata/ArtDataHelper/HitUtils.h",
16 "lardata/RecoBaseArt/TrackUtils.h" => "lardata/ArtDataHelper/TrackUtils.h",
17 "lardata/RecoBaseArt/WireCreator.h" => "lardata/ArtDataHelper/WireCreator.h"
18  ); }
19 
20 foreach my $inc (sort keys %header_list) {
21  s&^(\s*#include\s+["<])\Q$inc\E(.*)&${1}$header_list{$inc}${2}& and last;
22 }
use File::Basename qw(fileparse)
foreach my $inc(sort keys%subdir_list)
Definition: fix_headers.pl:100
my($xml, $fcl, $workdir, $check, $merge)
BEGIN
Definition: fix_cmake.pl:4
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