Use VMC id's rather than TGeo id's
[u/mrichter/AliRoot.git] / FMD / scripts / ReadRaw.C
CommitLineData
c2fc1258 1/** @file ReadRaw.C
2 @author Christian Holm Christensen <cholm@nbi.dk>
3 @date Tue Mar 28 12:39:08 2006
4 @brief Script to read raw data
5*/
6/** @ingroup FMD_script
7 @brief Read raw data into a TClonesArray - for testing
8 */
9void
10ReadRaw()
11{
12 AliCDBManager* cdb = AliCDBManager::Instance();
13 cdb->SetDefaultStorage("local://$ALICE_ROOT");
14 AliLog::SetModuleDebugLevel("FMD", 10);
15 AliFMDParameters::Instance()->Init();
16 AliRawReader* r = new AliRawReaderFile(0);
17 AliFMDRawReader* fr = new AliFMDRawReader(r, 0);
18 TClonesArray* a = new TClonesArray("AliFMDDigit");
19 fr->ReadAdcs(a);
20}
21//____________________________________________________________________
22//
23// EOF
24//