\relax \@writefile{toc}{\contentsline {chapter}{\numberline {1}Overview}{5}} \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \@writefile{toc}{\contentsline {section}{\numberline {1.1}Programming Tools}{5}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.1.1}C++}{5}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.1.2}STL: {\tt http://www.sgi.com/tech/stl/}}{6}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.1.3}ROOT: {\tt http://root.cern.ch/}}{6}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.1.4}PostgreSQL, XML, and all that}{6}} \@writefile{toc}{\contentsline {section}{\numberline {1.2}Code Management Tools}{6}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.2.1}CVS}{6}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.2.2}SRT}{7}} \@writefile{toc}{\contentsline {section}{\numberline {1.3}MIPP Offline Software Packages}{7}} \@writefile{toc}{\contentsline {subsubsection}{\relax $\@@underline {\hbox {Detector Geometry}}\mathsurround \z@ $\relax }{7}} \@writefile{toc}{\contentsline {paragraph}{Bfield}{7}} \@writefile{toc}{\contentsline {paragraph}{Geometry}{7}} \@writefile{toc}{\contentsline {paragraph}{ConnectionMap}{7}} \@writefile{toc}{\contentsline {subsubsection}{\relax $\@@underline {\hbox {Simulation}}\mathsurround \z@ $\relax }{7}} \@writefile{toc}{\contentsline {paragraph}{e907mc }{7}} \@writefile{toc}{\contentsline {paragraph}{DCDigitizer}{7}} \@writefile{toc}{\contentsline {paragraph}{MWPCDigitizer}{7}} \@writefile{toc}{\contentsline {paragraph}{RICHDigitizer}{8}} \@writefile{toc}{\contentsline {paragraph}{TPCDigitizer}{8}} \@writefile{toc}{\contentsline {paragraph}{TOFDigitizer}{8}} \@writefile{toc}{\contentsline {paragraph}{E907MCInterface}{8}} \@writefile{toc}{\contentsline {paragraph}{Geant3Interface}{8}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.3.1}\relax $\@@underline {\hbox {Data Format and I/O}}\mathsurround \z@ $\relax }{8}} \@writefile{toc}{\contentsline {paragraph}{RawData}{8}} \@writefile{toc}{\contentsline {paragraph}{MCClasses}{8}} \@writefile{toc}{\contentsline {paragraph}{EventDataModel}{8}} \@writefile{toc}{\contentsline {paragraph}{MippIo}{8}} \@writefile{toc}{\contentsline {paragraph}{Raw2Root}{8}} \@writefile{toc}{\contentsline {paragraph}{IoModules}{8}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.3.2}\relax $\@@underline {\hbox {Reconstruction and Analysis}}\mathsurround \z@ $\relax }{8}} \@writefile{toc}{\contentsline {paragraph}{JobControl}{8}} \@writefile{toc}{\contentsline {paragraph}{RecoBase}{8}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.3.3}Tracking}{9}} \@writefile{toc}{\contentsline {subsubsection}{TrkRBase}{9}} \@writefile{toc}{\contentsline {subsubsection}{TPCReco}{9}} \@writefile{toc}{\contentsline {subsubsection}{SPFit}{9}} \@writefile{toc}{\contentsline {subsubsection}{Vertex Reconstruction}{10}} \@writefile{toc}{\contentsline {subsection}{\numberline {1.3.4}Particle ID}{10}} \@writefile{toc}{\contentsline {paragraph}{RICHReco}{10}} \@writefile{toc}{\contentsline {chapter}{\numberline {2}The Event Data Structure}{11}} \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \@writefile{toc}{\contentsline {section}{\numberline {2.1}The event structure}{11}} \@writefile{toc}{\contentsline {subsection}{\numberline {2.1.1}Where is the data? edm\_dump}{13}} \@writefile{toc}{\contentsline {subsection}{\numberline {2.1.2}Handling Errors: {\tt EDMException}}{13}} \@writefile{toc}{\contentsline {chapter}{\numberline {3}Analysis and Reconstruction: anamipp}{15}} \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \@writefile{toc}{\contentsline {section}{\numberline {3.1}Getting started with the {\tt Demo} package}{15}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.1}Running {\tt anamipp}}{16}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.2}Job description XML documents}{17}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.3}Output from anamipp}{18}} \@writefile{toc}{\contentsline {section}{\numberline {3.2}Job Modules}{18}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}DemoModule.h}{19}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2} DemoModule.cxx}{19}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}Other methods}{22}} \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}Configuration}{22}} \@writefile{toc}{\contentsline {chapter}{\numberline {4}Monte Carlo}{23}} \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \@writefile{toc}{\contentsline {section}{\numberline {4.1}Event Generation}{23}} \@writefile{toc}{\contentsline {subsection}{\numberline {4.1.1}FLUKA}{23}} \@writefile{toc}{\contentsline {subsection}{\numberline {4.1.2}DPMJET}{23}} \@writefile{toc}{\contentsline {section}{\numberline {4.2}\tt e907mc}{24}} \@writefile{toc}{\contentsline {subsection}{\numberline {4.2.1}Execution details}{24}} \@writefile{toc}{\contentsline {subsection}{\numberline {4.2.2}How to Run It}{25}} \@writefile{toc}{\contentsline {subsection}{\numberline {4.2.3}Configuring Execution}{25}} \@writefile{toc}{\contentsline {paragraph}{Controlling Digitization}{26}} \@writefile{toc}{\contentsline {subsection}{\numberline {4.2.4}Reconstructing Monte Carlo}{26}} \@writefile{toc}{\contentsline {chapter}{\numberline {5}Data Analysis with the DST}{27}} \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \@writefile{toc}{\contentsline {section}{\numberline {5.1}Format of the DST - Round 2}{27}} \@writefile{toc}{\contentsline {subsection}{\numberline {5.1.1}The {\tt MIPPEventSummary} Class}{27}} \@writefile{lof}{\contentsline {figure}{\numberline {5.1}{\ignorespaces Schematic of the DST format used in Round 2.}}{28}} \newlabel{dst-schem-r2}{{5.1}{28}} \@writefile{toc}{\contentsline {subsection}{\numberline {5.1.2}The MIPPTrackSummary Class}{29}} \@writefile{toc}{\contentsline {subsection}{\numberline {5.1.3}The MIPPVertexSummary Class}{29}} \@writefile{toc}{\contentsline {section}{\numberline {5.2}Format of the DST - Round 3}{29}} \@writefile{lof}{\contentsline {figure}{\numberline {5.2}{\ignorespaces Schematic of the DST format to be used in Round 3.}}{30}} \newlabel{dst-schem-r3}{{5.2}{30}} \@writefile{toc}{\contentsline {section}{\numberline {5.3}Getting Started With the DST}{31}} \@writefile{lot}{\contentsline {table}{\numberline {5.1}{\ignorespaces Description of the {\tt MIPPEventSummary} class. Var. type I == integer, F == float, T = MIPPTrackSummary, V = MIPPVertexSummary.}}{34}} \newlabel{EvtClassTbl}{{5.1}{34}} \@writefile{lot}{\contentsline {table}{\numberline {5.2}{\ignorespaces Description of the {\tt MIPPEventSummary} class. Var. type I = integer, F = float, P = {\tt RBPID::PID\_t}, D = {\tt RBPID::Detector\_t}.}}{35}} \newlabel{TrkClassTbl}{{5.2}{35}} \@writefile{lot}{\contentsline {table}{\numberline {5.3}{\ignorespaces Description of the {\tt MIPPEventSummary} class. Var. type I = integer, F == float}}{36}} \newlabel{TrkClassTbl2}{{5.3}{36}} \@writefile{lot}{\contentsline {table}{\numberline {5.4}{\ignorespaces Description of the {\tt MIPPEventSummary} class. Var. type I = integer, F == float.}}{37}} \newlabel{VtxClassTbl}{{5.4}{37}} \@writefile{lot}{\contentsline {table}{\numberline {5.5}{\ignorespaces Description of the {\tt MIPPSpillSummary} class used in Round 3. Var. type I == integer.}}{37}} \newlabel{SpillClassTbl-p3}{{5.5}{37}} \@writefile{lot}{\contentsline {table}{\numberline {5.6}{\ignorespaces Description of the {\tt MIPPEventSummary} class. Var. type I == integer, F == float, T = MIPPTrackSummary, B = MIPPBeamTrkSummary, V = MIPPVertexSummary, TPC = MIPPTPCSummary, etc.}}{38}} \newlabel{EvtClassTbl-p3}{{5.6}{38}} \@writefile{lot}{\contentsline {table}{\numberline {5.7}{\ignorespaces Description of the {\tt MIPPEventSummary} class. Var. type I = integer, F = float, P = {\tt RBPID::PID\_t}, D = {\tt RBPID::Detector\_t}.}}{39}} \newlabel{TrkClassTbl-p3}{{5.7}{39}} \@writefile{lot}{\contentsline {table}{\numberline {5.8}{\ignorespaces Description of the {\tt MIPPEventSummary} class. Var. type I = integer, F = float.}}{40}} \newlabel{VtxClassTbl-p3}{{5.8}{40}} \@writefile{lot}{\contentsline {table}{\numberline {5.9}{\ignorespaces Description of the {\tt MIPPTPCSummary} class. Var. type I = integer, F = float.}}{40}} \newlabel{TPCClassTbl-p3}{{5.9}{40}} \@writefile{lot}{\contentsline {table}{\numberline {5.10}{\ignorespaces Description of the {\tt MIPPToFSummary} class. Var. type I = integer, F = float.}}{41}} \newlabel{ToFClassTbl-p3}{{5.10}{41}} \@writefile{lot}{\contentsline {table}{\numberline {5.11}{\ignorespaces Description of the {\tt MIPPDCkovSummary} class. Var. type I = integer, F = float.}}{42}} \newlabel{DCkovClassTbl-p3}{{5.11}{42}} \@writefile{lot}{\contentsline {table}{\numberline {5.12}{\ignorespaces Description of the {\tt MIPPRICHSummary} class. Var. type I = integer, F = float.}}{42}} \newlabel{RICHClassTbl-p3}{{5.12}{42}} \@writefile{lot}{\contentsline {table}{\numberline {5.13}{\ignorespaces Description of the {\tt MIPPCaloSummary} class. Var. type I = integer, F = float.}}{43}} \newlabel{CaloClassTbl-p3}{{5.13}{43}} \@writefile{toc}{\contentsline {chapter}{\numberline {6}Retrieving MIPP data from Enstore}{44}} \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \@writefile{toc}{\contentsline {section}{\numberline {6.1}Data storage system documentation}{44}} \@writefile{toc}{\contentsline {section}{\numberline {6.2}Organization of MIPP Enstore area}{44}} \@writefile{toc}{\contentsline {section}{\numberline {6.3}On e907ana computers}{45}} \@writefile{toc}{\contentsline {section}{\numberline {6.4}Through kerberized FTP}{45}} \@writefile{toc}{\contentsline {subsection}{\numberline {6.4.1}Hints}{46}} \@writefile{toc}{\contentsline {chapter}{\numberline {7}MippDatabase: SQL database interface}{47}} \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \@writefile{toc}{\contentsline {section}{\numberline {7.1}Introduction}{47}} \@writefile{toc}{\contentsline {section}{\numberline {7.2}To-Do list}{47}} \@writefile{toc}{\contentsline {section}{\numberline {7.3}Underlying SQL software}{47}} \@writefile{toc}{\contentsline {section}{\numberline {7.4}Setup for PostGreSQL}{48}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.4.1}PostGreSQL on e907anaX/e907daq/e907mon}{49}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.4.2}Remote access}{50}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.4.3}Database backup}{50}} \@writefile{toc}{\contentsline {section}{\numberline {7.5}MIPP specific code}{50}} \@writefile{toc}{\contentsline {section}{\numberline {7.6}Types of predefined tables}{51}} \@writefile{toc}{\contentsline {section}{\numberline {7.7}XML interface}{52}} \@writefile{toc}{\contentsline {section}{\numberline {7.8}Special characters}{54}} \@writefile{toc}{\contentsline {section}{\numberline {7.9}Concrete example: Ckov cable map}{54}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.9.1}Define and load a table into the database}{54}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.9.2}Retrieving data from the database in MIPP executables}{57}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.9.3}Adding data to tables in C++ code}{59}} \@writefile{toc}{\contentsline {section}{\numberline {7.10}MippDatabase Classes}{60}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.10.1}SQL basics}{60}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.10.2}Initialization}{61}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.10.3}Retrieving a table}{61}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.10.4}MdbDatabase class}{61}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.10.5}Database variables}{62}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.10.6}Selecting a subset of rows}{63}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.10.7}Creating XML files from a database table}{64}} \@writefile{toc}{\contentsline {subsection}{\numberline {7.10.8}The MdbAbsRelDBTable class}{65}} \@writefile{toc}{\contentsline {chapter}{\numberline {8}Residual corrections to TPC hits: TPCResCor}{67}} \@writefile{lof}{\addvspace {10\p@ }} \@writefile{lot}{\addvspace {10\p@ }} \@writefile{toc}{\contentsline {section}{\numberline {8.1}What is TPCResCor?}{67}} \@writefile{toc}{\contentsline {section}{\numberline {8.2}Method}{67}} \@writefile{toc}{\contentsline {section}{\numberline {8.3}Using TPCResCor}{68}} \@writefile{toc}{\contentsline {section}{\numberline {8.4}Updating TPCResCor}{69}} \@writefile{toc}{\contentsline {section}{\numberline {8.5}Database Tables}{70}}