Revision: | 1.1 |
Committed: | Thu Oct 16 16:17:17 2008 UTC (16 years, 6 months ago) by bendavid |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1, Mit_013d, Mit_013c, Mit_013b, Mit_013a, Mit_013, Mit_013pre1, Mit_012i, Mit_012h, Mit_012g, Mit_012f, Mit_012e, Mit_012d, Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a, Mit_011, Mit_010a, Mit_010, Mit_009c, Mit_009b, Mit_009a, Mit_009, Mit_008, Mit_008pre2, Mit_008pre1, Mit_006b, Mit_006a, Mit_006, Mit_005, HEAD |
Branch point for: | Mit_025c_branch |
Log Message: | Moved HitPattern parsing to a seperate class with more checks and now compatible with fixed hit layer mask format |
# | User | Rev | Content |
---|---|---|---|
1 | bendavid | 1.1 | // $Id: FillerTracks.cc,v 1.21 2008/10/13 10:41:36 bendavid Exp $ |
2 | |||
3 | #include "MitProd/TreeFiller/interface/HitPatternReader.h" | ||
4 | |||
5 | using namespace std; | ||
6 | using namespace edm; | ||
7 | using namespace mithep; | ||
8 | |||
9 | //-------------------------------------------------------------------------------------------------- | ||
10 | void HitPatternReader::InitLayerMap() | ||
11 | { | ||
12 | // Initialize mapping between hit layer format in reco::HitPattern and the one used in | ||
13 | // mithep::Track. Note in 21x stereo layers are treated separatelely. | ||
14 | |||
15 | layerMap_[1160] = mithep::Track::PXB1; | ||
16 | layerMap_[1168] = mithep::Track::PXB2; | ||
17 | layerMap_[1176] = mithep::Track::PXB3; | ||
18 | layerMap_[1288] = mithep::Track::PXF1; | ||
19 | layerMap_[1296] = mithep::Track::PXF2; | ||
20 | layerMap_[1416] = mithep::Track::TIB1; | ||
21 | layerMap_[1420] = mithep::Track::TIB1S; | ||
22 | layerMap_[1424] = mithep::Track::TIB2; | ||
23 | layerMap_[1428] = mithep::Track::TIB2S; | ||
24 | layerMap_[1432] = mithep::Track::TIB3; | ||
25 | layerMap_[1440] = mithep::Track::TIB4; | ||
26 | layerMap_[1544] = mithep::Track::TID1; | ||
27 | layerMap_[1548] = mithep::Track::TID1S; | ||
28 | layerMap_[1552] = mithep::Track::TID2; | ||
29 | layerMap_[1556] = mithep::Track::TID2S; | ||
30 | layerMap_[1560] = mithep::Track::TID3; | ||
31 | layerMap_[1564] = mithep::Track::TID3S; | ||
32 | layerMap_[1672] = mithep::Track::TOB1; | ||
33 | layerMap_[1676] = mithep::Track::TOB1S; | ||
34 | layerMap_[1680] = mithep::Track::TOB2; | ||
35 | layerMap_[1684] = mithep::Track::TOB2S; | ||
36 | layerMap_[1688] = mithep::Track::TOB3; | ||
37 | layerMap_[1696] = mithep::Track::TOB4; | ||
38 | layerMap_[1704] = mithep::Track::TOB5; | ||
39 | layerMap_[1712] = mithep::Track::TOB6; | ||
40 | layerMap_[1800] = mithep::Track::TEC1; | ||
41 | layerMap_[1804] = mithep::Track::TEC1S; | ||
42 | layerMap_[1808] = mithep::Track::TEC2; | ||
43 | layerMap_[1812] = mithep::Track::TEC2S; | ||
44 | layerMap_[1816] = mithep::Track::TEC3; | ||
45 | layerMap_[1820] = mithep::Track::TEC3S; | ||
46 | layerMap_[1824] = mithep::Track::TEC4; | ||
47 | layerMap_[1828] = mithep::Track::TEC4S; | ||
48 | layerMap_[1832] = mithep::Track::TEC5; | ||
49 | layerMap_[1836] = mithep::Track::TEC5S; | ||
50 | layerMap_[1840] = mithep::Track::TEC6; | ||
51 | layerMap_[1844] = mithep::Track::TEC6S; | ||
52 | layerMap_[1848] = mithep::Track::TEC7; | ||
53 | layerMap_[1852] = mithep::Track::TEC7S; | ||
54 | layerMap_[1856] = mithep::Track::TEC8; | ||
55 | layerMap_[1860] = mithep::Track::TEC8S; | ||
56 | layerMap_[1864] = mithep::Track::TEC9; | ||
57 | layerMap_[1868] = mithep::Track::TEC9S; | ||
58 | } |