Remove protection against not initialization of MChandler in the Init, there the...
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 29 Aug 2009 21:43:02 +0000 (21:43 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 29 Aug 2009 21:43:02 +0000 (21:43 +0000)
PWG4/PartCorrBase/AliCaloTrackReader.cxx

index 817abc908bff6a5b04d863a9d0bb6123a429af5e..a91b9da485ffa37c2965798d2ee5cad24444fb06 100755 (executable)
@@ -299,18 +299,13 @@ void AliCaloTrackReader::Init()
        
        //Get the file with second input events if the filename is given
        //Get the tree and connect the AODEvent. Only with AODs
-       
+
        if(fReadStack && fReadAODMCParticles){
                printf("AliCaloTrackReader::Init() - Cannot access stack and mcparticles at the same time, change them \n");
                fReadStack = kFALSE;
                fReadAODMCParticles = kFALSE;
        }
        
-       if(fReadStack && !fMC) {
-               printf("AliCaloTrackReader::Init() - MC handler not available, switch off stack reading\n");
-               fReadStack = kFALSE;
-       }
-       
        if(fSecondInputFileName!=""){
                if(fDataType == kAOD){
                        TFile * input2   = new TFile(fSecondInputFileName,"read");