Remove protection against not initialization of MChandler in the Init, there the...
[u/mrichter/AliRoot.git] / 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");