<?xml version="1.0" encoding="utf-8"?>
<html>
  <head>
    <title>XML Documentation for ECAL DB numbering</title>
    <link rel="stylesheet" type="text/css" href="style.css"/>
  </head>
  <body>
    <div class="header">
      <img src="images/CMSlogo.png"/>
      <div id="title"> XML Documentation for ECAL DB numbering</div>
      <a href="instructionsRead.html" target="blank"> How to read this page</a>
      <a href="instructionsWrite.html" target="blank"> How to modify this page</a>
    </div>
    <div id="endcap">
      <div class="numbering">
        <p>Part::EE_side</p>
        <p>Id Names::["side"]</p>
        <p>Description::Endcap side (wrt z axis)</p>
        <p>Logic_ids::2000000012, 2000000010</p>
        <p>Channel_ids::[1], [-1]</p>
        <p>Number of channels::2</p>
      </div>
      <div class="numbering">
        <p>Part::EE_D</p>
        <p>Id Names::["D"]</p>
        <p>Description::Endcap Dee</p>
        <p>Logic_ids::2 000 000 1 XX; D</p>
        <p>Channel_ids::[1] ... [4]</p>
        <p>Number of channels::4</p>
      </div>
      <div class="numbering">
        <p>Part::EE_sector</p>
        <p>Id Names::["sector","side"]</p>
        <p>Description::Data Sectors by number in Endcap</p>
        <p>Logic_ids::2 000 000 X XX; sideIndex , sector</p>
        <p>Channel_ids::[sector: 1...9, side: 1, -1]</p>
        <p>Number of channels::18</p>
      </div>
      <div class="numbering">
        <p>Part::EE_DCC</p>
        <p>Id Names::["DCC"]</p>
        <p>Description::DCC sectors by number in Endcap</p>
        <p>Logic_ids::2 000 001 XXX; DCC</p>
        <p>Channel_ids::[DCC: 601...609], [DCC: 646...654]</p>
        <p>Number of channels::18</p>
      </div>
      <div class="numbering">
        <p>Part::EE_crystal_number</p>
        <p>Id Names::["side","ix","iy" ]</p>
        <p>Description::Crystals in Ecal Endcap by number</p>
        <p>Logic_ids::2 01X XXX XXX; sideIndex, ix, iy</p>
        <p>Channel_ids::[side: 1, -1 ix: 1~..100, iy: 1~..100]</p>
        <p>Number of channels::14648</p>
      </div>
      <div class="numbering">
        <p>Part::EE_elec_crystal_number</p>
        <p>Id Names::["ele_number"]</p>
        <p>Description::Crystals in Ecal Endcap by electronics number</p>
        <p>Logic_ids::2 05 XXX XX XX ; ele_number= DCC_id(==FED-600) * 10 000 + readout_tower * 100 + (strip-1)*5+channel_in_strip</p>
        <p>Channel_ids::[ele_number]</p>
        <p>Number of channels::14648</p>
      </div>
      <div class="numbering">
        <p>Part::EE_crystal_hashed</p>
        <p>Id Names::["hi"]</p>
        <p>Description::Crystals in Ecal Endcap by hashed index</p>
        <p>Logic_ids::2 02X XXX XXX ; hi</p>
        <p>Channel_ids::[hi: 1~..15479]</p>
        <p>Number of channels::14648</p>
      </div>
      <div class="numbering">
        <p>Part::ECAL_TCC</p>
        <p>Id Names::["TCC"]</p>
        <p>Description::TCC sectors by number in ECAL</p>
        <p>Logic_ids::1 XXX ; TCC</p>
        <p>Channel_ids::[TCC: 1...108]</p>
        <p>Number of channels::108</p>
      </div>
      <div class="numbering">
        <p>Part::EE_readout_tower</p>
        <p>Id Names::["DCC", "readout_tower"]</p>
        <p>Description::Readout Towers in the ECAL Endcap</p>
        <p>Logic_ids::2 000 0 XXX XX ; DCC, readout_tower</p>
        <p>Channel_ids::[DCC: 601...609, 646...654, readout_tower: 1...less or equal to 34 ]</p>
        <p>Number of channels::596</p>
      </div>
      <div class="numbering">
        <p>Part::EE_trigger_tower</p>
        <p>Id Names::["TCC", "trigger_tower"]</p>
        <p>Description::Trigger Towers in the ECAL Endcap</p>
        <p>Logic_ids::2 000 0 XXX XX ; TCC, trigger_tower</p>
        <p>Channel_ids::[TCC: 1...108, trigger_tower: 1...28 ]</p>
        <p>Number of channels::1440</p>
      </div>
      <div class="numbering">
        <p>Part::EE_readout_strip</p>
        <p>Id Names::["DCC", "readout_tower", "readout_strip"]</p>
        <p>Description::Readout Strips in the ECAL Endcap</p>
        <p>Logic_ids::2 001 XXX XX X ; DCC, readout_tower, readout_strip</p>
        <p>Channel_ids::[DCC: 601...609, 646...654, readout_tower: 1...less or equal to 34, readout_strip: 1...5 ]</p>
        <p>Number of channels::2936</p>
      </div>
      <div class="numbering">
        <p>Part::EE_trigger_strip</p>
        <p>Id Names::["DCC", "trigger_tower", "trigger_strip"]</p>
        <p>Description::Trigger Strips in the ECAL Endcap</p>
        <p>Logic_ids::2 001 XXX XX X ; DCC, trigger_tower, trigger_strip</p>
        <p>Channel_ids::[TCC: 1...108, trigger_tower: 1...28, trigger_strip: 1...5 ]</p>
        <p>Number of channels::2936</p>
      </div>
      <div class="numbering">
        <p>Part::EE_crystal_trigger_strip</p>
        <p>Id Names::["TCC", "trigger_tower", "crystal_trigger_strip_id"]</p>
        <p>Description::Numbering of crystal in Trigger Strip in the ECAL Endcap</p>
        <p>Logic_ids::2 03 XXX XX XX ; TCC, trigger_tower, crystal_trigger_strip_id=(strip-1)*5+channel_in_strip</p>
        <p>Channel_ids::[TCC: 1...108, trigger_tower: 1...28, crystal_trigger_strip_id: 1..~25 ]</p>
        <p>Number of channels::14648</p>
      </div>
      <div class="numbering">
        <p>Part::EE_crystal_readout_strip</p>
        <p>Id Names::["TCC", "readout_tower", "crystal_readout_strip_id"]</p>
        <p>Description::Numbering of crystal in Readout Strip in the ECAL Endcap</p>
        <p>Logic_ids::2 04 XXX XX XX ; TCC, readout_tower, crystal_readout_strip_id=(strip-1)*5+channel_in_strip</p>
        <p>Channel_ids::[DCC: 601...609, 646...654, readout_tower: 1...less or equal to 34, crystal_readout_strip_id: 1..~25 ]</p>
        <p>Number of channels::14648</p>
      </div>
    </div>
  </body>
</html>
