From: szostak Date: Fri, 8 Jun 2007 08:46:21 +0000 (+0000) Subject: Adding some extra information about the components usage. X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=159b743b7b3f80f834155a4440d229224d88aace Adding some extra information about the components usage. --- diff --git a/HLT/MUON/OfflineInterface/AliHLTMUONRecHitsSource.h b/HLT/MUON/OfflineInterface/AliHLTMUONRecHitsSource.h index d86f2a1c058..3f4669f5a6b 100644 --- a/HLT/MUON/OfflineInterface/AliHLTMUONRecHitsSource.h +++ b/HLT/MUON/OfflineInterface/AliHLTMUONRecHitsSource.h @@ -23,7 +23,21 @@ class AliLoader; * AliHLTMUONRecHitsSource is a HLT-AliRoot data source object which generates * and serves AliHLTMUONRecHitsBlockStruct type data blocks to the HLT system. * This is meant as a debugging utility which can optionally generate the data - * blocks from simulate GEANT hits or MUON offline reconstructed hits. + * blocks from simulated GEANT hits or MUON offline reconstructed hits. + * + * Command line flags: + * -simdata + * Specify this option to publish GEANT hits. + * -recdata + * Specify this option to publish offline reconstructed raw clusters. + * -plane left|right|all + * Specifies if data from the left (x < 0), right (x >= 0) or the whole XY + * plane should be published. + * -chamber |-[,|-]... + * Selects the chambers from which to publish data. Valid chamber numbers + * in the range [1..10]. The string after '-chamber' is a comma separated + * list of numbers or ranges. Some examples of strings: + * 1 1-2 1,2,3 1,3-5,7 etc... */ class AliHLTMUONRecHitsSource : public AliHLTOfflineDataSource { @@ -62,6 +76,15 @@ private: kWholePlane // for all x }; + /** + * Parses a string with the following format: + * |-[,|-]... + * For example: 1 1,2,3 1-2 1,2-4,5 etc... + * Flags in the fServeChamber will be set to 'true' for all appropriate + * values parsed. + * @param str The string to parse. + * @return Zero on success and EINVAL if there is a parse error. + */ int ParseChamberString(const char* str); AliMUONSimData* fSimData; //! MUON module interface to simulated data.