TWiki
>
TOTEM Web
>
WebLeftBar
>
CompOfflineSw
>
CompChannelMasking
(2011-09-12,
MarcinBorratynski
)
(raw view)
E
dit
A
ttach
P
DF
---+ Dead and noisy channels masking ---++ General description There are some channels that don't work properly. Generally we can divide this channels into two groups: * dead channels (do not answer) * noisy channels (answer to much) The purpose of dead and noisy channels masking is to exclude both groups of channels from simulation and reconstruction. --- ---++ Steps that have to be taken Out of software: * retrieve list of dead and noisy channels * convert this list to XML file In Software: * parse XML file and create !AnalysisMask * use !AnalysisMask in order to exclude channels from simulation and reconstruction The software part of dead and noisy channels masking takes place during digitalization. --- ---++ Common part for every detectors ---+++parse XML file and create !AnalysisMask This step of masking takes part directly in software. In order to parse XML and create !AnalysisMask(=TotemCondFormats/DAQInformation/interface/AnalysisMask.h=) we should use !DAQMappingSourceXML class (=TotemCondFormats/DAQInformation/plugins/DAQMappingSourceXML.cc=). To use this class we have to include in our configuration file a special module. We have to also provide mapping files and XML files containing dead & noisy channels. Sample configuration files will be later presented in this document. ---+++XML file The XML files which contain dead and noisy channels have very similar format for every detector. The differences are induced by different construction of each detector. Bellow I present sample files. *Roman Pots* <verbatim> <top> <arm id="0"> <station id="2"> <rp_detector_set id="5"> <rp_plane id="0"> <vfat iid="1" fullmask="yes"/> <vfat iid="3" fullmask="no"> <channel id="51"/> <channel id="94"/> </vfat> </rp_plane> </rp_detector_set> </station> </arm> </top> </verbatim> *T1* <verbatim> <top> <t1_detector_set id="100"> <t1_arm id="0"> <t1_plane id="1"> <t1_csc id="2"> <t1_channel_type id="1" full_mask="no"> <channel id="44"/> <channel id="55"/> </t1_channel_type> <t1_channel_type id="2" full_mask="yes"/> <t1_channel_type id="3" full_mask="no"> <channel id="220"/> <channel id="129"/> </t1_channel_type> </t1_csc> </t1_plane> </t1_arm> </t1_detector_set> </top> </verbatim> ---+++Configuration file In reconstruction dead and noisy channels are always excluded. However in simulation it is not necessary, hence a special flag indicating whether we want to simulate dead channels or not was introduced. To simulate dead channels it is necessary to add to a configuration file following part: <verbatim> process.load('TotemCondFormats.DAQInformation.DAQMappingSourceXML_cfi') # mapping files process.DAQMappingSourceXML.mappingFileNames.append('TotemCondFormats/DAQInformation/data/rp_220.xml') #load all mapping files process.DAQMappingSourceXML.mappingFileNames.append('TotemCondFormats/DAQInformation/data/rp_147.xml') process.DAQMappingSourceXML.mappingFileNames.append('TotemCondFormats/DAQInformation/data/t1_all.xml') process.DAQMappingSourceXML.mappingFileNames.append('TotemCondFormats/DAQInformation/data/t2_4quarters.xml') # mask files process.DAQMappingSourceXML.maskFileNames.append('TotemCondFormats/DAQInformation/data/deadChannels_220.xml') #load configuration files process.DAQMappingSourceXML.maskFileNames.append('TotemCondFormats/DAQInformation/data/deadChannels_147.xml') #for both RP stations process.DAQMappingSourceXML.maskFileNames.append('PATH_TO_T1_DEAD_CHANNEL_LIST') #load configuration file for T1 process.T1Digis.simulateDeadChannels = cms.bool(True) #this flag (set to true) indicates that we want to take dead channels into account for T1 process.RPSiDetDigitizer.simulateDeadChannels = cms.bool(True) #this flag (set to true) indicates that we want to take #into account dead channels for RP </verbatim> --- ---++ Sections for each detector * *[[CompRPDeadChannels][Roman Pots]]* * *[[CompT1DeadChannels][T1]]* --- -- Main.MarcinBorratynski - 08-Sep-2011 -- Main.JakubSmajek - 02-Sep-2011
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r8
<
r7
<
r6
<
r5
<
r4
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r8 - 2011-09-12
-
MarcinBorratynski
Log In
TOTEM
TOTEM
TOTEM home
TOTEM TWiki
TOTEM TWiki
DETECTOR
SOFTWARE
Offline Software
Monitor
TotemDQM
Trigger/DAQ
DCS
ANALYSIS
PHYSICS
DOCUMENTATION
Service links
Changes
Index
Search
About
Rules and conventions
Playground
TWiki help
TWiki formatting rules
Create personal sidebar
Cern Search
TWiki Search
Google Search
TOTEM
All webs
Copyright &© 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use
Discourse
or
Send feedback